X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCGame.cpp;h=666f1eca9e3700f2bdeb94fd1127cad300f5baca;hb=51ec3a05a6238fad05a57d417638495c1839b694;hp=2b3f7503b2011521d75ab4bdb619bd193d38f7b4;hpb=f252549ec2a5392f2be8bb5ca707b27a464b4583;p=quix0rs-blobwars.git diff --git a/src/CGame.cpp b/src/CGame.cpp index 2b3f750..666f1ec 100644 --- a/src/CGame.cpp +++ b/src/CGame.cpp @@ -1,5 +1,6 @@ /* -Copyright (C) 2004-2010 Parallel Realities +Copyright (C) 2004-2011 Parallel Realities +Copyright (C) 2011-2015 Perpendicular Dimensions This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -29,16 +30,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(); }