summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-04-08 23:16:17 +0200
committerMarek Olšák <[email protected]>2011-04-08 23:17:15 +0200
commit69c71396c6e947cbdf878bacb655d472a11c7708 (patch)
treec2359fd4a9677f2c0a5bb0680f5fe820c91c1b3c /src/gallium/drivers/r300/r300_state.c
parentc6e33ca285f9eba26cae2fdd74fb5cc694f1e74b (diff)
r300g: fix another crash with hyperz
https://bugs.freedesktop.org/show_bug.cgi?id=36086
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 61d6751e5d3..c92f871829a 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -856,6 +856,7 @@ r300_set_framebuffer_state(struct pipe_context* pipe,
}
}
}
+ assert(state->zsbuf || r300->hyperz_locked || !r300->zmask_in_use);
/* Need to reset clamping or colormask. */
r300_mark_atom_dirty(r300, &r300->blend_state);