mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
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:
parent
2c96410b39
commit
736ed925b0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue