fix 2dfilter problem on AMD64, Patches item #13626
authorHamed Zaghaghi <hamed.zaghaghi@gmail.com>
Fri, 6 Jun 2008 01:28:51 +0000 (01:28 +0000)
committerHamed Zaghaghi <hamed.zaghaghi@gmail.com>
Fri, 6 Jun 2008 01:28:51 +0000 (01:28 +0000)
source/gameengine/Rasterizer/RAS_2DFilterManager.cpp

index e8562c54539ed2431ba82220d4412f4918d67655..80d6d55df256abc8cea9e4060f376312e61ad102 100644 (file)
@@ -166,7 +166,8 @@ void RAS_2DFilterManager::StartShaderProgram(unsigned int shaderprogram)
        GLint uniformLoc;
        bgl::blUseProgramObjectARB(shaderprogram);
        uniformLoc = bgl::blGetUniformLocationARB(shaderprogram, "bgl_RenderedTexture");
-       glActiveTexture(GL_TEXTURE0);
+       bgl::blActiveTextureARB(GL_TEXTURE0);
+       //glActiveTexture(GL_TEXTURE0);
        glBindTexture(GL_TEXTURE_2D, texname);
 
     if (uniformLoc != -1)