Commit 631d9918 authored by Jan Möbius's avatar Jan Möbius

Trying to get rid of some cppcheck warnings


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16834 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0cf22447
......@@ -527,7 +527,7 @@ void DepthPeeling::renderDualPeeling(ACG::GLState* _glState, Viewer::ViewerPrope
targetBuffer[0] = GL_COLOR_ATTACHMENT0 + bufID;
targetBuffer[1] = GL_COLOR_ATTACHMENT1 + bufID;
targetBuffer[2] = GL_COLOR_ATTACHMENT2 + bufID;
GLenum sourceBuffer[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2};
// GLenum sourceBuffer[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2};
// clear target colors
glDrawBuffers(2, targetBuffer + 1);
......
......@@ -144,7 +144,6 @@ private:
/// dual depth peeling shaders
GLSL::Program* peelBlendDual_;
GLSL::Program* peelFinalDual_;
GLSL::Program* peelInitDual_;
/// Collection of framebuffers for each viewport
......
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