Added SDL_GetError()

This commit is contained in:
Pan7 2015-07-26 15:45:21 +02:00
parent 2003a054f9
commit 19c4048315

View file

@ -90,7 +90,7 @@ void GLimp_SetGamma( unsigned char red[256], unsigned char green[256], unsigned
if (SDL_SetWindowGammaRamp(SDL_window, table[0], table[1], table[2]) < 0)
{
ri.Printf( PRINT_DEVELOPER, "SDL_SetWindowGammaRamp() failed.\n" );
ri.Printf( PRINT_DEVELOPER, "SDL_SetWindowGammaRamp() failed: %s\n", SDL_GetError() );
}
}