diff --git a/irr/src/COpenGLDriver.cpp b/irr/src/COpenGLDriver.cpp index 0d3f18e2b..1ad66aef9 100644 --- a/irr/src/COpenGLDriver.cpp +++ b/irr/src/COpenGLDriver.cpp @@ -3018,7 +3018,7 @@ IImage *COpenGLDriver::createScreenShot(video::ECOLOR_FORMAT format, video::E_RE if (newImage) pixels = static_cast(newImage->getData()); if (pixels) { - glReadBuffer(GL_FRONT); + glReadBuffer(Params.Doublebuffer ? GL_BACK : GL_FRONT); glReadPixels(0, 0, ScreenSize.Width, ScreenSize.Height, fmt, type, pixels); testGLError(__LINE__); glReadBuffer(GL_BACK);