Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11modes.c @ 4591:1e998db9b597
Implement blending modes for textures. Fix off-screen pixmaps to be ARGB rather than RGB to enable blending across frames. Clear the screen and off-screen pixmaps when the renderer is created.
author | Sunny Sachanandani <sunnysachanandani@gmail.com> |
---|---|
date | Wed, 14 Jul 2010 19:17:11 +0530 |
parents | 1ad70fb49fcb |
children | 3892fe2f6537 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c Fri Jul 09 21:36:41 2010 +0530 +++ b/src/video/x11/SDL_x11modes.c Wed Jul 14 19:17:11 2010 +0530 @@ -49,7 +49,7 @@ return 0; } } -#ifdef SDL_VIDEO_DRIVER_X11_XRENDER +/*#ifdef SDL_VIDEO_DRIVER_X11_XRENDER depth = 32; long vinfo_mask; XVisualInfo vinfo_templ; @@ -64,7 +64,7 @@ XFree(vi); return 0; } -#endif +#endif*/ depth = DefaultDepth(display, screen); if ((X11_UseDirectColorVisuals() && XMatchVisualInfo(display, screen, depth, DirectColor, vinfo)) ||