src/video/win32/SDL_win32video.c
changeset 4788 0bfda420c936
parent 3697 f7b03b6838cb
child 4809 329708ffe2a7
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;