summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-06-16 17:56:00 -0700
committerVinson Lee <vlee@vmware.com>2010-06-16 17:56:00 -0700
commit241218845309a0c765b97b7c966a06d60ca9dd57 (patch)
tree02838e529cc106819137baf9ef8557f6da4aa0f8 /src
parent84178547dfaa27ca298ad1755d1ce686036a8550 (diff)
r300g: Fix uninitialized variable warnings in error path.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 251e170056..4639bbbd9b 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -512,6 +512,8 @@ void r300_emit_rs_state(struct r300_context* r300, unsigned size, void* state)
break;
default:
debug_printf("r300: Bad number of multisamples!\n");
+ mspos0 = 0;
+ mspos1 = 0;
break;
}