diff options
author | Marek Olšák <[email protected]> | 2013-06-01 03:19:21 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-06-13 03:54:14 +0200 |
commit | 3475b2213381cdbda7a620d4c0c7708f6969f489 (patch) | |
tree | b785347fccb82a0f5f6fbb8ab1acfddce0016d33 /src/gallium/state_trackers/dri/drm | |
parent | a713d7b1b962129c4d480c56e7d29bc82f511a1f (diff) |
st/dri: if flushing a drawable, don't set reason=SWAPBUFFERS
0 means SWAPBUFFERS.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/drm')
-rw-r--r-- | src/gallium/state_trackers/dri/drm/dri2.c | 2 |
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 |