st/dri: if flushing a drawable, don't set reason=SWAPBUFFERS
authorMarek Olšák <maraeo@gmail.com>
Sat, 1 Jun 2013 01:19:21 +0000 (03:19 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 13 Jun 2013 01:54:14 +0000 (03:54 +0200)
commit3475b2213381cdbda7a620d4c0c7708f6969f489
treeb785347fccb82a0f5f6fbb8ab1acfddce0016d33
parenta713d7b1b962129c4d480c56e7d29bc82f511a1f
st/dri: if flushing a drawable, don't set reason=SWAPBUFFERS

0 means SWAPBUFFERS.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/dri/drm/dri2.c