summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2007-09-18 21:50:31 +0100
committerMichel Dänzer <[email protected]>2007-09-18 21:50:31 +0100
commit3f0e04e0e62b853382a018cb6a69eea14e85712d (patch)
tree0e2b9b3fa3a754527aaa5a8cf31a4f81b66d144e
parentd39dde6ed4ab1927d5b9992d6cc7414e7fa236e8 (diff)
intel_winsys: Disable scheduled buffer swaps for now.
They don't work with private back buffers yet. This gets vsync working.
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
index d9adcd3a623..48c1f68d9c3 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c
@@ -496,7 +496,8 @@ intelScheduleSwap(const __DRIdrawablePrivate * dPriv, GLboolean *missed_target)
drm_i915_vblank_swap_t swap;
GLboolean ret;
- if (!intel_fb->vblank_flags ||
+ /* XXX: Scheduled buffer swaps don't work with private back buffers yet */
+ if (1 || !intel_fb->vblank_flags ||
(intel_fb->vblank_flags & VBLANK_FLAG_NO_IRQ) ||
intelScreen->drmMinor < (intel_fb->pf_active ? 9 : 6))
return GL_FALSE;