mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Added SDL_GetError()
This commit is contained in:
parent
2003a054f9
commit
19c4048315
1 changed files with 1 additions and 1 deletions
|
@ -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() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue