Commit f4523031 authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Fixed bug found by yeetins (see...

Fixed bug found by yeetins (see http://lists.gforge.inria.fr/pipermail/proland-info/2012-September/000075.html)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/ork/trunk@36 28599a00-4e59-401b-b2d8-d34d4661a6c9
parent 131a6004
......@@ -1563,7 +1563,7 @@ void FrameBuffer::set()
if (drawBufferCount == 1) {
glDrawBuffer(getBuffer(drawBuffers[0]));
} else {
GLenum drawBufs[4];
GLenum drawBufs[8];
for (int i = 0; i < drawBufferCount; ++i) {
drawBufs[i] = getBuffer(drawBuffers[i]);
}
......
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