From 7dd82beaa9678f6807fa27fa055834812c31c67a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 21 Jun 2002 19:24:43 +0000 Subject: [PATCH] Temporarily removed the references to multi-texturing calls. --- src/osg/Geometry.cpp | 2 +- src/osg/Texture.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index 0db78a401..fefbff593 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -51,7 +51,7 @@ void Geometry::drawImmediateMode(State& /*state*/) for(unsigned int i=0;i<_texCoordList.size();++i) { AttributeArray* array = _texCoordList[i].get(); - glClientActiveTextureARB(GL_TEXTURE0_ARB+i); + //glClientActiveTextureARB(GL_TEXTURE0_ARB+i); if (array) { glEnableClientState( GL_TEXTURE_COORD_ARRAY ); diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 6ce6bfb18..f8e3d69d3 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -192,7 +192,7 @@ void Texture::apply(State& state) const GLuint& handle = getHandle(contextID); // For multi-texturing will need something like... - // glActiveTextureARB((GLenum)(GL_TEXTURE0_ARB+_textureUnit)); + //glActiveTextureARB((GLenum)(GL_TEXTURE0_ARB+_textureUnit)); if (handle != 0) {