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:
@@ -469,7 +469,7 @@ void State::setSecondaryColorPointer( GLint size, GLenum type,
|
||||
GLsizei stride, const GLvoid *ptr )
|
||||
{
|
||||
static SecondaryColorPointerProc s_glSecondaryColorPointer =
|
||||
(SecondaryColorPointerProc) osg::getGLExtensionFuncPtr("glFogCoordPointer","glFogCoordPointerEXT");
|
||||
(SecondaryColorPointerProc) osg::getGLExtensionFuncPtr("glSecondaryColorPointer","glSecondaryColorPointerEXT");
|
||||
|
||||
if (s_glSecondaryColorPointer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user