# HG changeset patch # User Sunny Sachanandani # Date 1275459940 -19800 # Node ID a17fbd25767bebb71e924a7df526458862cf9b16 # Parent ef0aa488fff65b65d46f1e456da067008da546e6 It seems that the off-screen buffers (or pixmaps) only need to be cleared while initializing. diff -r ef0aa488fff6 -r a17fbd25767b src/video/x11/SDL_x11render.c --- a/src/video/x11/SDL_x11render.c Wed Jun 02 11:45:15 2010 +0530 +++ b/src/video/x11/SDL_x11render.c Wed Jun 02 11:55:40 2010 +0530 @@ -1264,13 +1264,13 @@ } } SDL_ClearDirtyRects(&data->dirty); -#ifdef SDL_VIDEO_DRIVER_X11_XRENDER +/*#ifdef SDL_VIDEO_DRIVER_X11_XRENDER // Clear each pixmap after a render if(data->xrender_available == SDL_TRUE) { XRenderComposite(data->display, PictOpClear, data->drawable_pict, None, data->drawable_pict, 0, 0, 0, 0, 0, 0, renderer->window->w, renderer->window->h); } -#endif +#endif*/ } XSync(data->display, False);