summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-03-28 10:39:46 -0700
committerKeith Whitwell <[email protected]>2010-03-28 10:42:38 -0700
commitd0d73a38dab49d762dfbe596b66634d5d187501a (patch)
treeeac39c6b871a1b7907f98b959cb14ae45e27f551
parentdb5c2235d1accc2adcf1746aec2342bfa67237ba (diff)
ws/xlib: Call XFlush after PutImage
Want to see the results.
-rw-r--r--src/gallium/winsys/sw/xlib/xlib_sw_winsys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
index 54789d7a87c..ad843b7def6 100644
--- a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
+++ b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
@@ -341,6 +341,8 @@ xlib_sw_display(struct xlib_drawable *xlib_drawable,
XPutImage(xm_dt->display, xlib_drawable->drawable, xm_dt->gc,
ximage, 0, 0, 0, 0, xm_dt->width, xm_dt->height);
}
+
+ XFlush(xm_dt->display);
}
/**