sdlayer: Disable a missed instance of sysgamma under EDUKE32_GLES, not just __ANDROID__.

git-svn-id: https://svn.eduke32.com/eduke32@5962 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-12-26 06:02:10 +00:00
parent 2c96410b39
commit 736ed925b0

View file

@ -1927,7 +1927,9 @@ int32_t setgamma(void)
if (i != INT32_MIN) if (i != INT32_MIN)
initprintf("Unable to set gamma: SDL_SetWindowGammaRamp failed: %s\n", SDL_GetError()); initprintf("Unable to set gamma: SDL_SetWindowGammaRamp failed: %s\n", SDL_GetError());
*/ */
#endif
#ifndef EDUKE32_GLES
#if SDL_MAJOR_VERSION == 1 #if SDL_MAJOR_VERSION == 1
SDL_SetGammaRamp(&sysgamma[0][0], &sysgamma[1][0], &sysgamma[2][0]); SDL_SetGammaRamp(&sysgamma[0][0], &sysgamma[1][0], &sysgamma[2][0]);
#else #else