comparison 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
comparison
equal deleted inserted replaced
2861:25745ac3d785 2862:929e7dd10031
86 Uint32 blit_fill:1; 86 Uint32 blit_fill:1;
87 Uint32 UnusedBits3:16; 87 Uint32 UnusedBits3:16;
88 Uint32 video_mem; 88 Uint32 video_mem;
89 89
90 SDL_PixelFormat *vfmt; 90 SDL_PixelFormat *vfmt;
91
92 int current_w;
93 int current_h;
91 } SDL_VideoInfo; 94 } SDL_VideoInfo;
92 95
93 /* The most common video overlay formats. 96 /* The most common video overlay formats.
94 For an explanation of these pixel formats, see: 97 For an explanation of these pixel formats, see:
95 http://www.webartz.com/fourcc/indexyuv.htm 98 http://www.webartz.com/fourcc/indexyuv.htm