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
This commit is contained in:
Torbjörn Andersson 2003-07-03 06:58:08 +00:00
parent a0133fdbc6
commit cd04361fb7

View File

@ -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;