Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11video.c @ 4782:b6930aefd008
Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Wed, 30 Jun 2010 16:19:44 -0400 |
parents | c0f2a1e6f0cd |
children | 329708ffe2a7 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c Mon Jun 21 23:08:10 2010 -0400 +++ b/src/video/x11/SDL_x11video.c Wed Jun 30 16:19:44 2010 -0400 @@ -28,6 +28,7 @@ #include "SDL_x11video.h" #include "SDL_x11render.h" +#include "SDL_x11shape.h" #if SDL_VIDEO_DRIVER_PANDORA #include "SDL_x11opengles.h" @@ -202,6 +203,9 @@ device->SetWindowGrab = X11_SetWindowGrab; device->DestroyWindow = X11_DestroyWindow; device->GetWindowWMInfo = X11_GetWindowWMInfo; + device->shape_driver.CreateShaper = X11_CreateShaper; + device->shape_driver.SetWindowShape = X11_SetWindowShape; + device->shape_driver.ResizeWindowShape = X11_ResizeWindowShape; #ifdef SDL_VIDEO_OPENGL_GLX device->GL_LoadLibrary = X11_GL_LoadLibrary; device->GL_GetProcAddress = X11_GL_GetProcAddress;