2 Topics
|
|
I'm getting a compiler error when trying to initialize a geometry shader using OpenGL. I'm using VS2013. Here is how I initialize it on OpenGL myCgContext = cgCreateContext(); cgGLSetDebugMode(CG_FALSE); cgSetParameterSettingMode(myCgContext, CG_DEFERRED_PARAMETER_SETTING); CGprofile gpProfile = cgGLGetLatestProfile(CG_GL_GEOMETRY); if (gpProfile == CG_PROFILE_UNKNOWN) { if (cgGLIsProfileSupported(CG_PROFILE_GLSLG)) gpProfile = CG_PROFILE_GLSLG; else { fprintf(stderr, "%s: geometry … |
|
Sorry for that, probably meaningless, question but I just can learn things better when I can connect it with something. So there is CGFloat, NSInt, NSString and all that stuff and I'm wondering what these prefixes mean - I do expect them to be a sort of abbreviation but I … |
The End.