Commit 61b69980 authored by Jan Möbius's avatar Jan Möbius

Fixed some more constants

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12758 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b996c9c4
......@@ -482,7 +482,11 @@ void SSAOPlugin::render(ACG::GLState* _glState, Viewer::ViewerProperties& _prope
for (int i = 0; i < 6; ++i)
{
ACG::GLState::activeTexture(GL_TEXTURE0 + i);
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE, 0);
#ifdef APPLE
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE_EXT, 0);
#else
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE, 0);
#endif
}
ACG::GLState::bindFramebuffer(GL_FRAMEBUFFER_EXT, pViewer->sceneFbo_);
......
Markdown is supported
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