From 590aabb4fae564a06065eebb6225144c7ec8e5f5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 10 Oct 2009 09:45:47 +0000 Subject: [PATCH] From Stephane Lamoliatte, "Here is a patch wich add two missing GL modes in the osg plug'in." --- src/osgPlugins/osg/StateSet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osgPlugins/osg/StateSet.cpp b/src/osgPlugins/osg/StateSet.cpp index 8ac5005a0..3df91fda6 100644 --- a/src/osgPlugins/osg/StateSet.cpp +++ b/src/osgPlugins/osg/StateSet.cpp @@ -120,6 +120,8 @@ void initGLNames() ADD_NAME("GL_LIGHT6",GL_LIGHT6); ADD_NAME("GL_LIGHT7",GL_LIGHT7); + ADD_NAME("GL_VERTEX_PROGRAM_POINT_SIZE", GL_VERTEX_PROGRAM_POINT_SIZE) + ADD_NAME("GL_VERTEX_PROGRAM_TWO_SIDE", GL_VERTEX_PROGRAM_TWO_SIDE) s_TextureGLModeSet.insert(GL_TEXTURE_1D); s_TextureGLModeSet.insert(GL_TEXTURE_2D);