diff --git a/source/src/main.cpp b/source/src/main.cpp index fb1a8f72..909ba2c4 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -10,9 +10,6 @@ void cleanup(char *msg) // single program exit point; cleanupclient(); audiomgr.soundcleanup(); cleanupserver(); - - extern void cleargamma(); - cleargamma(); } SDL_ShowCursor(SDL_TRUE); SDL_SetRelativeMouseMode(SDL_FALSE); @@ -536,11 +533,6 @@ VARNFP(gamma, vgamma, 30, 100, 300, } }); -void cleargamma() -{ - if(curgamma != 100) setgamma(100); -} - void restoregamma() { if(curgamma != 100)