summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-25 19:19:51 -0600
committerBrian <[email protected]>2007-10-25 20:32:45 -0600
commit616112ea2e0eefea356be228bff8754ee955d8b3 (patch)
tree1f1ec291b5e7bbb1838b7661554dfd7e43f4e1dd
parentee80e0b620c5b9af62dac8ad64a84042b46f5264 (diff)
silence warning
-rw-r--r--src/mesa/state_tracker/st_cb_clear.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c
index 2e7d9f1a301..30672e0dd43 100644
--- a/src/mesa/state_tracker/st_cb_clear.c
+++ b/src/mesa/state_tracker/st_cb_clear.c
@@ -464,7 +464,9 @@ static void
clear_depth_buffer(GLcontext *ctx, struct gl_renderbuffer *rb)
{
struct st_renderbuffer *strb = st_renderbuffer(rb);
+ /*
const GLboolean isDS = is_depth_stencil_format(strb->surface->format);
+ */
assert(strb->surface->format);