comparison src/video/win32/SDL_win32video.c @ 4788:0bfda420c936

Put in a couple of fixes that I realized hadn't gotten done when I wrote out the SCRUM stuff in TODO. Added SCRUM listings in TODO.
author Eli Gottlieb <eligottlieb@gmail.com>
date Fri, 09 Jul 2010 20:24:44 -0400
parents f7b03b6838cb
children 329708ffe2a7
comparison
equal deleted inserted replaced
4787:e25ad8d97027 4788:0bfda420c936
26 #include "SDL_mouse.h" 26 #include "SDL_mouse.h"
27 #include "../SDL_sysvideo.h" 27 #include "../SDL_sysvideo.h"
28 #include "../SDL_pixels_c.h" 28 #include "../SDL_pixels_c.h"
29 29
30 #include "SDL_win32video.h" 30 #include "SDL_win32video.h"
31 #include "SDL_win32shape.h"
31 #include "SDL_d3drender.h" 32 #include "SDL_d3drender.h"
32 #include "SDL_gdirender.h" 33 #include "SDL_gdirender.h"
33 34
34 /* Initialization/Query functions */ 35 /* Initialization/Query functions */
35 static int WIN_VideoInit(_THIS); 36 static int WIN_VideoInit(_THIS);
181 device->MinimizeWindow = WIN_MinimizeWindow; 182 device->MinimizeWindow = WIN_MinimizeWindow;
182 device->RestoreWindow = WIN_RestoreWindow; 183 device->RestoreWindow = WIN_RestoreWindow;
183 device->SetWindowGrab = WIN_SetWindowGrab; 184 device->SetWindowGrab = WIN_SetWindowGrab;
184 device->DestroyWindow = WIN_DestroyWindow; 185 device->DestroyWindow = WIN_DestroyWindow;
185 device->GetWindowWMInfo = WIN_GetWindowWMInfo; 186 device->GetWindowWMInfo = WIN_GetWindowWMInfo;
187
188 device->shape_driver.CreateShaper = Win32_CreateShaper;
189 device->shape_driver.SetWindowShape = Win32_SetWindowShape;
190 device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape;
191
186 #ifdef SDL_VIDEO_OPENGL_WGL 192 #ifdef SDL_VIDEO_OPENGL_WGL
187 device->GL_LoadLibrary = WIN_GL_LoadLibrary; 193 device->GL_LoadLibrary = WIN_GL_LoadLibrary;
188 device->GL_GetProcAddress = WIN_GL_GetProcAddress; 194 device->GL_GetProcAddress = WIN_GL_GetProcAddress;
189 device->GL_UnloadLibrary = WIN_GL_UnloadLibrary; 195 device->GL_UnloadLibrary = WIN_GL_UnloadLibrary;
190 device->GL_CreateContext = WIN_GL_CreateContext; 196 device->GL_CreateContext = WIN_GL_CreateContext;