diff src/video/SDL_video.c @ 1965:a788656ca29a

SDL constants are all uppercase.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Aug 2006 17:09:42 +0000
parents 2590b68531ef
children 01e29c3e9a29
line wrap: on
line diff
--- a/src/video/SDL_video.c	Thu Aug 03 19:34:05 2006 +0000
+++ b/src/video/SDL_video.c	Sat Aug 05 17:09:42 2006 +0000
@@ -531,7 +531,7 @@
 
         /* Pick some reasonable defaults if the app and driver don't care */
         if (!closest->format) {
-            closest->format = SDL_PixelFormat_RGB888;
+            closest->format = SDL_PIXELFORMAT_RGB888;
         }
         if (!closest->w) {
             closest->w = 640;