From 500d3947ef75594e0aa3ca2ff5a985c2d55e0f8c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 29 Jun 2018 10:53:23 +0100 Subject: [PATCH] Fixed isPointSpriteModeSupported assignment bug --- 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 cb88e00f4..517b92534 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -1055,7 +1055,7 @@ GLExtensions::GLExtensions(unsigned int in_contextID): isPointSpriteSupported = validContext && (OSG_GLES2_FEATURES || OSG_GLES3_FEATURES || OSG_GL3_FEATURES || isGLExtensionSupported(contextID, "GL_ARB_point_sprite") || isGLExtensionSupported(contextID, "GL_OES_point_sprite") || isGLExtensionSupported(contextID, "GL_NV_point_sprite")); - isPointSpriteModeSupported = isPointSpriteModeSupported && !OSG_GL3_FEATURES; + isPointSpriteModeSupported = isPointSpriteSupported && !OSG_GL3_FEATURES; isPointSpriteCoordOriginSupported = validContext && (OSG_GL3_FEATURES || (glVersion >= 2.0f));