Fix UV error introduced in previous commit

This commit is contained in:
Henrik Rydgard committed 2013-02-06 21:38:19 +01:00
1 parent 6f9347178b
commit 6b3ddae554
4 files changed
+11 -8

No files matched your search

+2 -2
View File
@@ -178,8 +178,8 @@ void VertexDecoder::Step_TcFloatThrough() const
{
float *uv = (float *)(decoded_ + decFmt.uvoff);
const float *uvdata = (const float*)(ptr_ + tcoff);
uv[0] = uvdata[0] * 0.5f;
uv[1] = uvdata[1] * 0.5f;
uv[0] = uvdata[0];
uv[1] = uvdata[1];
}
void VertexDecoder::Step_Color565() const