aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-07-03 06:58:08 +0000
committerTorbjörn Andersson2003-07-03 06:58:08 +0000
commitcd04361fb7ddf9d86469d7151f2de619ec678705 (patch)
tree6500b42b725159e6f7a04fe610c374f72585444b /backends/sdl
parenta0133fdbc61fb54f5d5e373490ad53858faafb6f (diff)
downloadscummvm-rg350-cd04361fb7ddf9d86469d7151f2de619ec678705.tar.gz
scummvm-rg350-cd04361fb7ddf9d86469d7151f2de619ec678705.tar.bz2
scummvm-rg350-cd04361fb7ddf9d86469d7151f2de619ec678705.zip
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.) svn-id: r8720
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl_gl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/sdl/sdl_gl.cpp b/backends/sdl/sdl_gl.cpp
index 6fab0577fb..afb916acb1 100644
--- a/backends/sdl/sdl_gl.cpp
+++ b/backends/sdl/sdl_gl.cpp
@@ -205,8 +205,6 @@ void OSystem_SDL_OpenGL::load_gfx_mode() {
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::load_gfx_mode() {
void OSystem_SDL_OpenGL::unload_gfx_mode() {
- SDL_SetGamma(1.0, 1.0, 1.0);
-
if (_screen) {
SDL_FreeSurface(_screen);
_screen = NULL;