aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-06-01 03:19:21 +0200
committerMarek Olšák <[email protected]>2013-06-13 03:54:14 +0200
commit3475b2213381cdbda7a620d4c0c7708f6969f489 (patch)
treeb785347fccb82a0f5f6fbb8ab1acfddce0016d33
parenta713d7b1b962129c4d480c56e7d29bc82f511a1f (diff)
st/dri: if flushing a drawable, don't set reason=SWAPBUFFERS
0 means SWAPBUFFERS. Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--src/gallium/state_trackers/dri/drm/dri2.c2
1 files changed, 1 insertions, 1 deletions
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