[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl_gl.cpp,1.44,1.45
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Wed Jul 2 23:59:04 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv17844
Modified Files:
sdl_gl.cpp
Log Message:
Removed the calls to SDL_SetGamma(). No one could understand what they were
doing there in the first place when it was discussed yesterday, and they
screw up the colours for me. (Possibly because I have the gamma correction
set even higher by default, so this attempt to brighten the image actually
made it *darker* for me.)
Index: sdl_gl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl_gl.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- sdl_gl.cpp 2 Jul 2003 15:08:46 -0000 1.44
+++ sdl_gl.cpp 3 Jul 2003 06:58:08 -0000 1.45
@@ -205,8 +205,6 @@
Init_2xSaI(565);
}
- SDL_SetGamma(1.25, 1.25, 1.25);
-
//
// Create the surface used for the graphics in 16 bit before scaling, and also the overlay
//
@@ -262,8 +260,6 @@
void OSystem_SDL_OpenGL::unload_gfx_mode() {
- SDL_SetGamma(1.0, 1.0, 1.0);
-
if (_screen) {
SDL_FreeSurface(_screen);
_screen = NULL;
More information about the Scummvm-git-logs
mailing list