If we are going to check for a extension, we should do it correctly.
In this case, check GLEE_EXT_framebuffer_object. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5758 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
54df5e1b9e
commit
8aabfd23b2
|
@ -411,7 +411,7 @@ BOOL Init_FBO( int width, int height )
|
|||
{
|
||||
GLenum status;
|
||||
// check to make sure user has FBO available, and we didn't create a FBO before.
|
||||
if(glGenFramebuffersEXT && !FBOinit)
|
||||
if(GLEE_EXT_framebuffer_object && !FBOinit)
|
||||
{
|
||||
glGenFramebuffersEXT(1, &fbo); //create fbo
|
||||
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo);
|
||||
|
|
Loading…
Reference in New Issue