nv: fix compile after the latest gs changes
authorZack Rusin <zack@kde.org>
Wed, 9 Jun 2010 15:29:45 +0000 (11:29 -0400)
committerZack Rusin <zack@kde.org>
Wed, 9 Jun 2010 15:29:45 +0000 (11:29 -0400)
src/gallium/drivers/nv50/nv50_program.c

index 97f938e6980e4af80fe442b46500f5f91087747e..8cb1639013e8ef03501096816bb258c1009c1b24 100644 (file)
@@ -3924,7 +3924,7 @@ ctor_nv50_pc(struct nv50_pc *pc, struct nv50_program *p)
                case TGSI_PROPERTY_GS_OUTPUT_PRIM:
                        p->cfg.prim_type = nv50_map_gs_output_prim(data[0]);
                        break;
-               case TGSI_PROPERTY_GS_MAX_VERTICES:
+               case TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES:
                        p->cfg.vert_count = data[0];
                        break;
                default: