diff options
author | Dave Airlie <[email protected]> | 2009-02-26 11:09:16 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-02-26 11:09:16 +1000 |
commit | 2c033f3893e808f109807f5e4744b61e79e78055 (patch) | |
tree | 5906a1bd4be8333ec334d8c303f83ae8ca9b3f48 /src/mesa | |
parent | bc5f94c1e1fddcf2b2a50972cb96e2593b288994 (diff) |
r300: don't call page flip on DRI2
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 93ef06fb268..ba1deee23ec 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -2742,7 +2742,8 @@ static void r300DrawBuffer( GLcontext *ctx, GLenum mode ) radeon_firevertices(&rmesa->radeon); /* don't pipeline cliprect changes */ radeonSetCliprects( &rmesa->radeon ); - radeonUpdatePageFlipping(&rmesa->radeon); + if (!rmesa->radeon.radeonScreen->driScreen->dri2.enabled) + radeonUpdatePageFlipping(&rmesa->radeon); } static void r300ReadBuffer( GLcontext *ctx, GLenum mode ) |