diff options
Diffstat (limited to 'src/client/video.cc')
-rw-r--r-- | src/client/video.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/video.cc b/src/client/video.cc index a7a74d5..e41f774 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -215,7 +215,7 @@ void screenshot() unsigned char *rgb_data = (unsigned char *) malloc(video::width * video::height * 3); // read OpenGL pixels into the buffer - //glReadBuffer(GL_FRONT); + //glReadBuffer(GL_BACK); glReadPixels(0, 0, (GLsizei) video::width, (GLsizei) video::height, GL_RGB, GL_UNSIGNED_BYTE, (void *) rgb_data); // either OpenGL actually returns BGR, or TGA wants BGR @@ -233,7 +233,6 @@ void screenshot() // close file ofs.close(); - con_print << "Wrote " << shortname << std::endl; } |