From 397ab4aa519a07817762e0a8c84601dd458a2188 Mon Sep 17 00:00:00 2001 From: Alexander Roan Date: Mon, 24 Apr 2017 10:38:02 +0100 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 170eb7141..48524c8e1 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -1036,7 +1036,7 @@ GLExtensions::GLExtensions(unsigned int 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 = OSG_GL3_FEATURES ||