From 3dc3dd3bd692cfde14ac45dc1a9ccda58ee98557 Mon Sep 17 00:00:00 2001 From: Alexander Roan Date: Sat, 15 Apr 2017 00:04:51 +0300 Subject: [PATCH] GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2 --- src/osg/GLExtensions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/GLExtensions.cpp b/src/osg/GLExtensions.cpp index 1f1ef1a9b..a8f44170d 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -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 &&