summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/common_lock.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-01-21 01:40:33 +1000
committerDave Airlie <airlied@redhat.com>2009-01-21 01:40:33 +1000
commitd9c4a01bad3a7d4a965fc09d8605afc6ca48f6f9 (patch)
treec5347c9b5ee3ef1c88855e50a1c25cca0118237b /src/mesa/drivers/dri/radeon/common_lock.c
parent04029e5ddb030445edc98305b091b9a35479282a (diff)
r200: make tri render on my r200.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/common_lock.c')
-rw-r--r--src/mesa/drivers/dri/radeon/common_lock.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_lock.c b/src/mesa/drivers/dri/radeon/common_lock.c
index 09517450a9..91600ac4cd 100644
--- a/src/mesa/drivers/dri/radeon/common_lock.c
+++ b/src/mesa/drivers/dri/radeon/common_lock.c
@@ -55,7 +55,6 @@ char *prevLockFile = NULL;
int prevLockLine = 0;
#endif
-#ifdef RADEON_COMMON_FOR_R300
/* Turn on/off page flipping according to the flags in the sarea:
*/
void radeonUpdatePageFlipping(radeonContextPtr rmesa)
@@ -81,18 +80,6 @@ void radeonUpdatePageFlipping(radeonContextPtr rmesa)
rmesa->state.depth.rrb = (void *)fb->Attachment[BUFFER_DEPTH].Renderbuffer;
}
-#else
-/* Turn on/off page flipping according to the flags in the sarea:
- */
-void radeonUpdatePageFlipping(radeonContextPtr rmesa)
-{
- rmesa->doPageFlip = rmesa->sarea->pfState;
- if (rmesa->glCtx->WinSysDrawBuffer) {
- driFlipRenderbuffers(rmesa->glCtx->WinSysDrawBuffer,
- rmesa->sarea->pfCurrentPage);
- }
-}
-#endif
/* Update the hardware state. This is called if another context has
* grabbed the hardware lock, which includes the X server. This