ws/xlib: Call XFlush after PutImage
authorKeith Whitwell <keithw@vmware.com>
Sun, 28 Mar 2010 17:39:46 +0000 (10:39 -0700)
committerKeith Whitwell <keithw@vmware.com>
Sun, 28 Mar 2010 17:42:38 +0000 (10:42 -0700)
Want to see the results.

src/gallium/winsys/sw/xlib/xlib_sw_winsys.c

index 54789d7a87c527e943f92129ec3dcd07d0f8cc62..ad843b7def6bb2f1683b8c387eef3b7633b1fcc8 100644 (file)
@@ -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);
 }
 
 /**