mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
sync gpu with gles
This commit is contained in:
1 parent
4f54c683f5
commit
0a29202e12
9 files changed
+179
-109
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user