summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_state.c
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-08-11 14:26:07 -0400
committerJerome Glisse <[email protected]>2010-08-11 14:26:07 -0400
commit481b65abaedb271d0da24c75b8c60f7bcf6d8ce9 (patch)
treef971d82636747472e9806976687faf2a308d6f02 /src/gallium/drivers/r600/r600_state.c
parent1bb0427a856ffa3fea1b177ea5b0395a00de3833 (diff)
r600g: accept empty frag prog shader
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r--src/gallium/drivers/r600/r600_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c
index a50b75cc795..ed2d9f99842 100644
--- a/src/gallium/drivers/r600/r600_state.c
+++ b/src/gallium/drivers/r600/r600_state.c
@@ -727,7 +727,7 @@ static struct radeon_state *r600_db(struct r600_context *rctx)
struct r600_resource *rbuffer;
struct radeon_state *rstate;
const struct pipe_framebuffer_state *state = &rctx->framebuffer->state.framebuffer;
- unsigned level = state->cbufs[0]->level;
+ unsigned level;
unsigned pitch, slice, format;
if (state->zsbuf == NULL)