Merged fixes to the osg::GLExtensions function pointer code from Stefan Huber,

and a fix to osg::State's secondary color code from Bob Kuehne.

Moved the body of the getGLExtensionFuncPtr() into the header to help out
support for Windows mapping of different OpenGL extensions function ptr per
dll.
This commit is contained in:
Robert Osfield
2002-08-20 10:14:12 +00:00
parent 93303cf1cd
commit 058ef0dc98
4 changed files with 38 additions and 34 deletions

View File

@@ -241,7 +241,6 @@ void Geometry::drawImmediateMode(State& state)
}
}
static SecondaryColor3ubvProc s_glSecondaryColor3ubv =
(SecondaryColor3ubvProc) osg::getGLExtensionFuncPtr("glSecondaryColor3ubv","glSecondaryColor3ubvEXT");
static SecondaryColor3fvProc s_glSecondaryColor3fv =