Commit b996c9c4 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@12757 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ced584bc
......@@ -175,7 +175,7 @@ void DepthPeelingPlugin::reloadResources(int _viewerId) {
// back_blender_tex_id
#ifdef APPLE
glFramebufferTexture2DEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT6, GL_TEXTURE_RECTANGLE,
glFramebufferTexture2DEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT6, GL_TEXTURE_RECTANGLE_EXT,
p->blendDualPeelTexID_[6], 0);
#else
glFramebufferTexture2DEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT6, GL_TEXTURE_RECTANGLE,
......@@ -1099,7 +1099,7 @@ void DepthPeelingPlugin::render(ACG::GLState* _glState, Viewer::ViewerProperties
ACG::GLState::activeTexture(GL_TEXTURE5); // back_blender: offset 6
#ifdef APPLE
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE, pViewer->blendDualPeelTexID_[6]);
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE_EXT, pViewer->blendDualPeelTexID_[6]);
#else
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE, pViewer->blendDualPeelTexID_[6]);
#endif
......@@ -1107,7 +1107,7 @@ void DepthPeelingPlugin::render(ACG::GLState* _glState, Viewer::ViewerProperties
ACG::GLState::activeTexture(GL_TEXTURE4); // front_blender_tex base_offset: 2
#ifdef APPLE
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE, pViewer->blendDualPeelTexID_[2 + currId]);
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE_EXT, pViewer->blendDualPeelTexID_[2 + currId]);
#else
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE, pViewer->blendDualPeelTexID_[2 + currId]);
#endif
......
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