Commit 8e0e86b8 authored by Jan Möbius's avatar Jan Möbius
Browse files

Update to use global glstate class

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12356 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0a5d316d
......@@ -288,11 +288,11 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate) {
// ======================================================================================================
// Bind textures to different texture units and tell shader where to find them
// ======================================================================================================
glActiveTextureARB(GL_TEXTURE0_ARB);
ACG::GLState::activeTextureARB(GL_TEXTURE0_ARB);
pColorTexture_.enable();
pColorTexture_.bind();
glActiveTextureARB(GL_TEXTURE1_ARB);
ACG::GLState::activeTextureARB(GL_TEXTURE1_ARB);
pDepthStencilTexture_.enable();
pDepthStencilTexture_.bind();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment