st/mesa: fix per-vertex point size

Cherry-picked from master, commit 0ad541a684.
This commit is contained in:
Marek Olšák 2010-05-04 22:42:29 +02:00
parent 011e7b2c96
commit fadc3c5c06

View file

@ -154,7 +154,7 @@ dst_register( struct st_translate *t,
return t->temps[index];
case PROGRAM_OUTPUT:
if (index == t->psizoutindex)
if (index == VERT_RESULT_PSIZ)
t->prevInstWrotePsiz = GL_TRUE;
return t->outputs[t->outputMapping[index]];