mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 03:39:07 +02:00
Fix vai->numFrames never incrementing.
This made it never cache... oops.
This commit is contained in:
1 parent
2c01b36585
commit
7d2c5c5041
1 file changed
+2
-1
@@ -913,7 +913,6 @@ void TransformDrawEngine::Flush() {
|
||||
vai->decFmt = dec.GetDecVtxFmt();
|
||||
vai_[id] = vai;
|
||||
}
|
||||
vai->lastFrame = gpuStats.numFrames;
|
||||
|
||||
switch (vai->status) {
|
||||
case VertexArrayInfo::VAI_NEW:
|
||||
@@ -1025,6 +1024,8 @@ void TransformDrawEngine::Flush() {
|
||||
goto rotateVBO;
|
||||
}
|
||||
}
|
||||
|
||||
vai->lastFrame = gpuStats.numFrames;
|
||||
} else {
|
||||
DecodeVerts();
|
||||
rotateVBO:
|
||||
|
||||
Reference in new issue
Block a user