Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11sym.h @ 4794:e562160a873f
Check configure-defined macro before doing _anything_ with XShape.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 13 Jul 2010 02:43:49 -0400 |
parents | f0b0bdc07916 |
children | 7b1d35d98294 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11sym.h Tue Jul 13 02:43:10 2010 -0400 +++ b/src/video/x11/SDL_x11sym.h Tue Jul 13 02:43:49 2010 -0400 @@ -233,7 +233,7 @@ SDL_X11_SYM(void,XScreenSaverSuspend,(Display *dpy,Bool suspend),(dpy,suspend),return) #endif -#if 1 /* !!! FIXME: SDL_VIDEO_DRIVER_X11_XSHAPE */ +#if SDL_VIDEO_DRIVER_X11_XSHAPE SDL_X11_MODULE(XSHAPE) SDL_X11_SYM(void,XShapeCombineMask,(Display *dpy,Window dest,int dest_kind,int x_off,int y_off,Pixmap src,int op),(dpy,dest,dest_kind,x_off,y_off,src,op),) #endif