]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CGame.cpp
Incorrect reference to SDL_FRMEWORK
[quix0rs-blobwars.git] / src / CGame.cpp
index 96fdb7d18b430fc5445208e134db904601db4902..f58b81cf1cda63f41e815c94ff77f22d94f33850 100644 (file)
@@ -29,16 +29,6 @@ Game::Game()
 
        gore = 1;
        skill = 1;
-#ifdef SDL_FRAMEWORK
-       float r,g,b;
-       if (SDL_GetGamma(&r, &g, &b) != -1) {
-               if (r != g || g != b) {
-                       brightness = -1;
-               } else {
-                       brightness = 10 * r;
-               }
-       }
-#endif
 
        clear();
 }