From 736ed925b07a82ba3167108ca0902ecf41d81978 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 26 Dec 2016 06:02:10 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/sdlayer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/build/src/sdlayer.c b/polymer/eduke32/build/src/sdlayer.c index f2e57c818..778c34b6c 100644 --- a/polymer/eduke32/build/src/sdlayer.c +++ b/polymer/eduke32/build/src/sdlayer.c @@ -1927,7 +1927,9 @@ int32_t setgamma(void) if (i != INT32_MIN) initprintf("Unable to set gamma: SDL_SetWindowGammaRamp failed: %s\n", SDL_GetError()); */ +#endif +#ifndef EDUKE32_GLES #if SDL_MAJOR_VERSION == 1 SDL_SetGammaRamp(&sysgamma[0][0], &sysgamma[1][0], &sysgamma[2][0]); #else