diff include/SDL_compat.h @ 2862:929e7dd10031

Added current_w and current_h to SDL_VideoInfo for SDL 1.2 compatibility
author Sam Lantinga <slouken@libsdl.org>
date Fri, 12 Dec 2008 06:46:20 +0000
parents 99210400e8b9
children 0e821769fc51
line wrap: on
line diff
--- a/include/SDL_compat.h	Wed Dec 10 08:39:00 2008 +0000
+++ b/include/SDL_compat.h	Fri Dec 12 06:46:20 2008 +0000
@@ -88,6 +88,9 @@
     Uint32 video_mem;
 
     SDL_PixelFormat *vfmt;
+
+    int current_w;
+    int current_h;
 } SDL_VideoInfo;
 
 /* The most common video overlay formats.