diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-26 18:10:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-26 18:10:17 +0000 |
commit | 2b9f068e7ee4c0d249c715f9eb5a3c2c8a11e6f8 (patch) | |
tree | fcd373f97385dc150437bc09b2143e0ceee589e1 /src/client/video.cc | |
parent | a29aa1ee2935857f616351a23578311f514516d4 (diff) |
win32 updates
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; } |