diff options
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r-- | src/radeon_dri2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 69f8a480..c28017cd 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -443,7 +443,9 @@ radeon_dri2_copy_region(DrawablePtr drawable, } vsync = info->accel_state->vsync; - info->accel_state->vsync = TRUE; + + /* Driver option "SwapbuffersWait" defines if we vsync DRI2 copy-swaps. */ + info->accel_state->vsync = info->swapBuffersWait; (*gc->ops->CopyArea)(src_drawable, dst_drawable, gc, 0, 0, drawable->width, drawable->height, 0, 0); |