changeset 4582:a17fbd25767b

It seems that the off-screen buffers (or pixmaps) only need to be cleared while initializing.
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Wed, 02 Jun 2010 11:55:40 +0530
parents ef0aa488fff6
children 5c925d4f220f
files src/video/x11/SDL_x11render.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);