summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-07-05 16:17:12 +0200
committerMaciej Cencora <[email protected]>2009-07-08 18:42:39 +0200
commit95df7bfc03fc63152b241e65bce1f7c73bbf007b (patch)
treecb8abd2808d9266c0ed5990668b66b105f76eb03
parentafd687b0dcf9ac842b4c4832247c6ffe5cc844b1 (diff)
radeon: fix copy and paste typo
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c
index bac72fbdfa7..42922732ecd 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common.c
@@ -713,7 +713,7 @@ void radeon_draw_buffer(GLcontext *ctx, struct gl_framebuffer *fb)
}
if (fb->_StencilBuffer && fb->_StencilBuffer->Wrapped) {
- rrbStencil = radeon_renderbuffer(fb->_DepthBuffer->Wrapped);
+ rrbStencil = radeon_renderbuffer(fb->_StencilBuffer->Wrapped);
if (rrbStencil && rrbStencil->bo) {
radeon->vtbl.fallback(ctx, RADEON_FALLBACK_STENCIL_BUFFER, GL_FALSE);
/* need to re-compute stencil hw state */