summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-03-29 09:42:37 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-04-29 13:52:48 +0200
commitc409dbcae3607e6f83f50a28d9bbb51f5ad51be4 (patch)
tree9ed72037860cbd9ce5326103f3f86972e9418a18 /src/mesa/drivers/dri/r300/r300_ioctl.c
parentcbf280dc26efa2ad6a8514cd110dcdfcb7c20bd9 (diff)
r300: Page flipping fixes.
Mostly making sure the page flipping state is respected when necessary.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c
index 90ac9881e8..c4dc97b8d4 100644
--- a/src/mesa/drivers/dri/r300/r300_ioctl.c
+++ b/src/mesa/drivers/dri/r300/r300_ioctl.c
@@ -370,7 +370,7 @@ static void r300Clear(GLcontext * ctx, GLbitfield mask)
_swrast_Clear(ctx, mask);
}
- swapped = r300->radeon.doPageFlip && (r300->radeon.sarea->pfCurrentPage == 1);
+ swapped = r300->radeon.sarea->pfCurrentPage == 1;
/* Make sure it fits there. */
r300EnsureCmdBufSpace(r300, 421*3, __FUNCTION__);