summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-17 05:14:24 +0200
committerMarek Olšák <[email protected]>2010-06-17 05:14:24 +0200
commitc3c20233233c2c578d39d2a707799b7cf0ad6e0f (patch)
tree98de1e2fef8985db358b927e22031cbadfff3d3b /src/gallium/drivers
parent6771622e22399e8ed2346b830aefadf885fcec10 (diff)
r300g: more reasonable MSPOS defaults in error path
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c4
1 files changed, 2 insertions, 2 deletions
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;
}