removed gamma reset

This commit is contained in:
drian
2021-05-09 06:23:52 +02:00
parent c14e19c0cd
commit baa718ee00
-8
View File
@@ -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)