From 69d58d6f7c6d9bf34d351b8bc47299c29f1bc138 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 25 Feb 2008 15:09:56 +0000 Subject: [PATCH] From Paul Martz, "This change adds "GL_NORMALIZE" and "GL_RESCALE_NORMAL" to .osg IO in place of the hex equivalents." --- 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 395dd0cc1..30e21456e 100644 --- a/src/osgPlugins/osg/StateSet.cpp +++ b/src/osgPlugins/osg/StateSet.cpp @@ -78,6 +78,8 @@ void initGLNames() ADD_NAME("GL_POLYGON_OFFSET_LINE",GL_POLYGON_OFFSET_LINE) ADD_NAME("GL_POLYGON_OFFSET_POINT",GL_POLYGON_OFFSET_POINT) ADD_NAME("GL_COLOR_SUM",GL_COLOR_SUM); + ADD_NAME("GL_NORMALIZE",GL_NORMALIZE); + ADD_NAME("GL_RESCALE_NORMAL",GL_RESCALE_NORMAL); ADD_NAME("GL_TEXTURE_1D",GL_TEXTURE_1D) ADD_NAME("GL_TEXTURE_2D",GL_TEXTURE_2D)