From: Marek Olšák Date: Thu, 17 Jun 2010 03:14:24 +0000 (+0200) Subject: r300g: more reasonable MSPOS defaults in error path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3c20233233c2c578d39d2a707799b7cf0ad6e0f;p=mesa.git r300g: more reasonable MSPOS defaults in error path --- 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; }