sync gpu with gles

This commit is contained in:
Ced2911 committed 2013-09-12 09:54:48 +02:00
1 parent 4f54c683f5
commit 0a29202e12
9 files changed
+179 -109

No files matched your search

+4 -2
View File
@@ -929,7 +929,7 @@ void VertexDecoder::SetVertexType(u32 fmt) {
decOff += DecFmtSize(decFmt.nrmfmt);
}
//if (pos) - there's always a position
if (pos) // there's always a position
{
size = align(size, posalign[pos]);
posoff = size;
@@ -958,7 +958,9 @@ void VertexDecoder::SetVertexType(u32 fmt) {
}
decFmt.posoff = decOff;
decOff += DecFmtSize(decFmt.posfmt);
}
} else
ERROR_LOG_REPORT(G3D, "Vertices without position found")
decFmt.stride = decOff;
size = align(size, biggest);