summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_lock.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-03-19 15:31:03 +1000
committerDave Airlie <[email protected]>2009-03-19 15:31:03 +1000
commitbdaa0341caffc353fd26bbd91865c2d86eed11c1 (patch)
treee829e2e3ac5571493d90c7d88e54d6f7b4a17b12 /src/mesa/drivers/dri/radeon/radeon_lock.c
parentc0c06803fee4d5cd04da03f1984ae99e411e1588 (diff)
radeon/r200/r300: cleanup some of the renderbuffer code
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_lock.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_lock.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_lock.c b/src/mesa/drivers/dri/radeon/radeon_lock.c
index fb9e5e025ea..e1bb2cd6e21 100644
--- a/src/mesa/drivers/dri/radeon/radeon_lock.c
+++ b/src/mesa/drivers/dri/radeon/radeon_lock.c
@@ -90,15 +90,6 @@ void radeonGetLock(radeonContextPtr rmesa, GLuint flags)
rmesa->lost_context = GL_TRUE;
}
-static INLINE struct radeon_renderbuffer *
-radeon_get_renderbuffer(struct gl_framebuffer *fb, int attIndex)
-{
- if (attIndex >= 0)
- return (struct radeon_renderbuffer *)fb->Attachment[attIndex].Renderbuffer;
- else
- return NULL;
-}
-
void radeon_lock_hardware(radeonContextPtr radeon)
{
__DRIdrawable *dPriv = radeon->dri.drawable;