src/video/win32/SDL_win32video.c
changeset 4788 0bfda420c936
parent 3697 f7b03b6838cb
child 4809 329708ffe2a7
     1.1 --- a/src/video/win32/SDL_win32video.c	Thu Jul 08 22:52:49 2010 -0400
     1.2 +++ b/src/video/win32/SDL_win32video.c	Fri Jul 09 20:24:44 2010 -0400
     1.3 @@ -28,6 +28,7 @@
     1.4  #include "../SDL_pixels_c.h"
     1.5  
     1.6  #include "SDL_win32video.h"
     1.7 +#include "SDL_win32shape.h"
     1.8  #include "SDL_d3drender.h"
     1.9  #include "SDL_gdirender.h"
    1.10  
    1.11 @@ -183,6 +184,11 @@
    1.12      device->SetWindowGrab = WIN_SetWindowGrab;
    1.13      device->DestroyWindow = WIN_DestroyWindow;
    1.14      device->GetWindowWMInfo = WIN_GetWindowWMInfo;
    1.15 +    
    1.16 +    device->shape_driver.CreateShaper = Win32_CreateShaper;
    1.17 +    device->shape_driver.SetWindowShape = Win32_SetWindowShape;
    1.18 +    device->shape_driver.ResizeWindowShape = Win32_ResizeWindowShape;
    1.19 +    
    1.20  #ifdef SDL_VIDEO_OPENGL_WGL
    1.21      device->GL_LoadLibrary = WIN_GL_LoadLibrary;
    1.22      device->GL_GetProcAddress = WIN_GL_GetProcAddress;