Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32video.c @ 4862:7b1d35d98294
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 22 Aug 2010 13:45:56 -0700 |
parents | 518d1679d2d0 7a602fd2121f |
children | 716b2cbf4c9e |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32video.c Sun Aug 22 12:39:56 2010 -0700 +++ b/src/video/win32/SDL_win32video.c Sun Aug 22 13:45:56 2010 -0700 @@ -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" #include "SDL_gapirender.h" @@ -180,6 +181,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;