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-861f7616d084
master
Buginator 2008-08-03 02:37:02 +00:00
parent 54df5e1b9e
commit 8aabfd23b2
1 changed files with 1 additions and 1 deletions

View File

@ -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);