From 3475b2213381cdbda7a620d4c0c7708f6969f489 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 1 Jun 2013 03:19:21 +0200 Subject: st/dri: if flushing a drawable, don't set reason=SWAPBUFFERS 0 means SWAPBUFFERS. Reviewed-by: Brian Paul --- src/gallium/state_trackers/dri/drm/dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index a0b29d3a540..1dcc1f7fd06 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/src/gallium/state_trackers/dri/drm/dri2.c @@ -45,7 +45,7 @@ static void dri2_flush_drawable(__DRIdrawable *dPriv) { - dri_flush(dPriv->driContextPriv, dPriv, __DRI2_FLUSH_DRAWABLE, 0); + dri_flush(dPriv->driContextPriv, dPriv, __DRI2_FLUSH_DRAWABLE, -1); } static void -- cgit v1.2.3