diff options
author | Vinson Lee <[email protected]> | 2010-06-16 17:56:00 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-06-16 17:56:00 -0700 |
commit | 241218845309a0c765b97b7c966a06d60ca9dd57 (patch) | |
tree | 02838e529cc106819137baf9ef8557f6da4aa0f8 /src/gallium/drivers/r300 | |
parent | 84178547dfaa27ca298ad1755d1ce686036a8550 (diff) |
r300g: Fix uninitialized variable warnings in error path.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 2 |
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 251e1700565..4639bbbd9b8 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; } |