mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
SDL_SetWindowGammaRamp check
This commit is contained in:
parent
605dfabb94
commit
2003a054f9
1 changed files with 4 additions and 1 deletions
|
@ -88,6 +88,9 @@ void GLimp_SetGamma( unsigned char red[256], unsigned char green[256], unsigned
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_SetWindowGammaRamp(SDL_window, table[0], table[1], table[2]);
|
if (SDL_SetWindowGammaRamp(SDL_window, table[0], table[1], table[2]) < 0)
|
||||||
|
{
|
||||||
|
ri.Printf( PRINT_DEVELOPER, "SDL_SetWindowGammaRamp() failed.\n" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue