I'm working on a c++ code that uses SD开发者_运维问答L/opengl.
Is this possible to create a pointer to a quadric with gluNewQuadric() before having initialized opengl with SDL_SetVideoMode?
The idea is to create a class with a (pointer to a) quadric class member that has to be instantiate before the SDL_SetVideoMode call. This pointer is initialized in the class' constructor with a gluNewQuadric() call.
I'm not seeing anything in the source code that would require an active GL context.
加载中,请稍侯......
精彩评论