Floor float z coords in throughmode.

Fixes #6766 in 32-bit mode only.
This commit is contained in:
Unknown W. Brackets committed 2015-02-22 21:04:48 -08:00
1 parent 9489f80a46
commit 29e6197e6f
2 files changed
+6 -8

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ static VertexData ReadVertex(VertexReader& vreader)
float pos[3];
// VertexDecoder normally scales z, but we want it unscaled.
vreader.ReadPosZ16(pos);
vreader.ReadPosThroughZ16(pos);
if (!gstate.isModeClear() && gstate.isTextureMapEnabled() && vreader.hasUV()) {
float uv[2];