OpenGL2: Support half floats for texcoords and vertex colors.

This commit is contained in:
SmileTheory committed 2014-11-03 19:10:35 -08:00
1 parent 1ba9e7a45e
commit 943259f6b4
10 files changed
+193 -154

No files matched your search

+1 -1
View File
@@ -412,7 +412,7 @@ void RB_MDRSurfaceAnim( mdrSurface_t *surface )
tess.xyz[baseVertex + j][1] = tempVert[1];
tess.xyz[baseVertex + j][2] = tempVert[2];
tess.normal[baseVertex + j] = R_VaoPackNormal(tempNormal);
R_VaoPackNormal((byte *)&tess.normal[baseVertex + j], tempNormal);
tess.texCoords[baseVertex + j][0][0] = v->texCoords[0];
tess.texCoords[baseVertex + j][0][1] = v->texCoords[1];