Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
It seems that the off-screen buffers (or pixmaps) only need to be cle…
Browse files Browse the repository at this point in the history
…ared while initializing.
  • Loading branch information
sunnyps committed Jun 2, 2010
1 parent e4d5d55 commit d3ed0db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/x11/SDL_x11render.c
Expand Up @@ -1264,13 +1264,13 @@ X11_RenderPresent(SDL_Renderer * renderer)
}
}
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);

Expand Down

0 comments on commit d3ed0db

Please sign in to comment.