From 241218845309a0c765b97b7c966a06d60ca9dd57 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 16 Jun 2010 17:56:00 -0700 Subject: [PATCH] r300g: Fix uninitialized variable warnings in error path. --- src/gallium/drivers/r300/r300_emit.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2