comparison src/video/win32/SDL_win32modes.c @ 1735:8dd28c4ef746 SDL-1.3

SDL_Rect now uses int for position and size. Added a few more rectangle functions. Added a dirty rectangle list implementation.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 07:34:50 +0000
parents 0b1070f2f94d
children
comparison
equal deleted inserted replaced
1734:f7c667ded87d 1735:8dd28c4ef746
133 SDL_memcpy(DeviceName, device.DeviceName, sizeof(DeviceName)); 133 SDL_memcpy(DeviceName, device.DeviceName, sizeof(DeviceName));
134 #ifdef DEBUG_MODES 134 #ifdef DEBUG_MODES
135 printf("Device: %s\n", WIN_StringToUTF8(DeviceName)); 135 printf("Device: %s\n", WIN_StringToUTF8(DeviceName));
136 #endif 136 #endif
137 for (j = 0;; ++j) { 137 for (j = 0;; ++j) {
138 int index;
139 SDL_VideoDisplay display; 138 SDL_VideoDisplay display;
140 SDL_DisplayData *displaydata; 139 SDL_DisplayData *displaydata;
141 SDL_DisplayMode mode; 140 SDL_DisplayMode mode;
142 141
143 if (!EnumDisplayDevices(DeviceName, j, &device, 0)) { 142 if (!EnumDisplayDevices(DeviceName, j, &device, 0)) {