r300g: Fix MSAA state size.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 16 Jun 2010 17:51:35 +0000 (10:51 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 16 Jun 2010 17:54:09 +0000 (10:54 -0700)
src/gallium/drivers/r300/r300_state.c

index 651ad7dd761d193937592d692641387a7f558289..ed0dbe84da68dbf1ce37f47d2225a0a385b6bf85 100644 (file)
@@ -985,7 +985,7 @@ static void r300_bind_rs_state(struct pipe_context* pipe, void* state)
 
     UPDATE_STATE(state, r300->rs_state);
     r300->rs_state.size = 25 + (r300->polygon_offset_enabled ? 5 : 0 +
-        r300->rws->get_value(r300->rws, R300_VID_DRM_2_3_0) ? 6 : 0);
+        r300->rws->get_value(r300->rws, R300_VID_DRM_2_3_0) ? 5 : 0);
 
     if (last_sprite_coord_enable != r300->sprite_coord_enable ||
         last_two_sided_color != r300->two_sided_color) {