From baa718ee00b5a2adafe1f950f07b055e045b6067 Mon Sep 17 00:00:00 2001 From: drian Date: Sun, 9 May 2021 06:23:52 +0200 Subject: [PATCH] removed gamma reset --- source/src/main.cpp | 8 -------- 1 file changed, 8 deletions(-) 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)