Skip to content

Commit

Permalink
GLExtenstions: fix checking of isFrameBufferObjectSupported flag for …
Browse files Browse the repository at this point in the history
…GLES2
  • Loading branch information
alex-roan authored and robertosfield committed Apr 24, 2017
1 parent 7c926db commit 3dc3dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osg/GLExtensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ GLExtensions::GLExtensions(unsigned int in_contextID):
glFramebufferRenderbuffer != 0 &&
glGenerateMipmap != 0 &&
glGetRenderbufferParameteriv != 0 &&
( OSG_GLES1_FEATURES || isGLExtensionOrVersionSupported(contextID, "GL_EXT_framebuffer_object",3.0f) );
( OSG_GLES2_FEATURES || OSG_GLES1_FEATURES || isGLExtensionOrVersionSupported(contextID, "GL_EXT_framebuffer_object",3.0f) );


isPackedDepthStencilSupported = validContext &&
Expand Down

0 comments on commit 3dc3dd3

Please sign in to comment.