Skip to content
Permalink
Browse files

Placate static analysis with an assertion.

  • Loading branch information
icculus committed Apr 11, 2015
1 parent 2afa4ae commit 6ae7a2064796d38a33c58761b682736899b0b1ff
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/SDL_video.c
@@ -2055,6 +2055,7 @@ SDL_SetWindowGammaRamp(SDL_Window * window, const Uint16 * red,
if (SDL_GetWindowGammaRamp(window, NULL, NULL, NULL) < 0) {
return -1;
}
SDL_assert(window->gamma != NULL);
}

if (red) {

0 comments on commit 6ae7a20

Please sign in to comment.