comparison test/testgl2.c @ 1965:a788656ca29a

SDL constants are all uppercase.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Aug 2006 17:09:42 +0000
parents 83946ee0ff1f
children 01e29c3e9a29
comparison
equal deleted inserted replaced
1964:071b6598d48f 1965:a788656ca29a
227 if (SDL_GL_MakeCurrent(state->windows[0], context) < 0) { 227 if (SDL_GL_MakeCurrent(state->windows[0], context) < 0) {
228 fprintf(stderr, "SDL_GL_MakeCurrent(): %s\n", SDL_GetError()); 228 fprintf(stderr, "SDL_GL_MakeCurrent(): %s\n", SDL_GetError());
229 quit(2); 229 quit(2);
230 } 230 }
231 231
232 if (state->render_flags & SDL_Renderer_PresentVSync) { 232 if (state->render_flags & SDL_RENDERER_PRESENTVSYNC) {
233 SDL_GL_SetSwapInterval(1); 233 SDL_GL_SetSwapInterval(1);
234 } else { 234 } else {
235 SDL_GL_SetSwapInterval(0); 235 SDL_GL_SetSwapInterval(0);
236 } 236 }
237 237