Fixed overflow bug in combineCallback.

This commit is contained in:
Gareth Hughes
1999-10-03 01:00:33 +00:00
parent 63fee8b3be
commit dcf11bdb93

View File

@@ -114,7 +114,7 @@ void CALLBACK combineCallback(GLdouble coords[3],
vertex[0] = coords[0];
vertex[1] = coords[1];
vertex[2] = coords[2];
for (i = 3; i < 7; i++)
for (i = 3; i < 6; i++)
vertex[i] = weight[0] * vertex_data[0][i]
+ weight[1] * vertex_data[1][i]
+ weight[2] * vertex_data[2][i]