diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 1f0d3d540..4b94c0398 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -292,6 +292,41 @@ void State::initializeExtensionProcs() ADDMODE(GL_LIGHT6) ADDMODE(GL_LIGHT7) + ADDMODE(GL_TEXTURE_1D) + ADDMODE(GL_TEXTURE_2D) + ADDMODE(GL_TEXTURE_3D) + ADDMODE(GL_TEXTURE_RECTANGLE) + ADDMODE(GL_TEXTURE_2D_MULTISAMPLE) + ADDMODE(GL_TEXTURE_2D_ARRAY) + + ADDMODE(GL_TEXTURE0) + ADDMODE(GL_TEXTURE1) + ADDMODE(GL_TEXTURE2) + ADDMODE(GL_TEXTURE3) + ADDMODE(GL_TEXTURE4) + ADDMODE(GL_TEXTURE5) + ADDMODE(GL_TEXTURE6) + ADDMODE(GL_TEXTURE7) + + ADDMODE(GL_TEXTURE_GEN_S) + ADDMODE(GL_TEXTURE_GEN_T) + ADDMODE(GL_TEXTURE_GEN_R) + ADDMODE(GL_TEXTURE_GEN_Q) + + ADDMODE(GL_ALPHA_TEST) + + ADDMODE(GL_CLIP_PLANE0) + ADDMODE(GL_CLIP_PLANE1) + ADDMODE(GL_CLIP_PLANE2) + ADDMODE(GL_CLIP_PLANE3) + ADDMODE(GL_CLIP_PLANE4) + ADDMODE(GL_CLIP_PLANE5) + + ADDMODE(GL_FOG) + + ADDMODE(GL_COLOR_MATERIAL) + + } void State::releaseGLObjects()