diff --git a/source/shared_lib/sources/graphics/model.cpp b/source/shared_lib/sources/graphics/model.cpp index 27bc0c1d9..dffcac415 100644 --- a/source/shared_lib/sources/graphics/model.cpp +++ b/source/shared_lib/sources/graphics/model.cpp @@ -1434,14 +1434,14 @@ Pixmap2D *PixelBufferWrapper::getPixelBufferFor(int x,int y,int w,int h, int col void PixelBufferWrapper::begin() { if(PixelBufferWrapper::isPBOEnabled == true) { // set the framebuffer to read - //glReadBuffer(GL_FRONT); + glReadBuffer(GL_FRONT); } } void PixelBufferWrapper::end() { if(PixelBufferWrapper::isPBOEnabled == true) { // set the framebuffer to read - //glReadBuffer(GL_BACK); + glReadBuffer(GL_BACK); } }