diff 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
line wrap: on
line diff
--- a/src/video/win32/SDL_win32video.c	Thu Jul 08 22:52:49 2010 -0400
+++ b/src/video/win32/SDL_win32video.c	Fri Jul 09 20:24:44 2010 -0400
@@ -28,6 +28,7 @@
 #include "../SDL_pixels_c.h"
 
 #include "SDL_win32video.h"
+#include "SDL_win32shape.h"
 #include "SDL_d3drender.h"
 #include "SDL_gdirender.h"
 
@@ -183,6 +184,11 @@
     device->SetWindowGrab = WIN_SetWindowGrab;
     device->DestroyWindow = WIN_DestroyWindow;
     device->GetWindowWMInfo = WIN_GetWindowWMInfo;
+    
+    device->shape_driver.CreateShaper = Win32_CreateShaper;
+    device->shape_driver.SetWindowShape = Win32_SetWindowShape;
+    device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape;
+    
 #ifdef SDL_VIDEO_OPENGL_WGL
     device->GL_LoadLibrary = WIN_GL_LoadLibrary;
     device->GL_GetProcAddress = WIN_GL_GetProcAddress;