From c3c20233233c2c578d39d2a707799b7cf0ad6e0f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 17 Jun 2010 05:14:24 +0200 Subject: r300g: more reasonable MSPOS defaults in error path --- src/gallium/drivers/r300/r300_emit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/r300') diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 4639bbbd9b8..50372d28c13 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -512,8 +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; + mspos0 = rs->multisample_position_0; + mspos1 = rs->multisample_position_1; break; } -- cgit v1.2.3