mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
GLPushBuffer: Fix bug when growing, forgot to mark space used in the new buffer. Old bug!
This commit is contained in:
1 parent
44513e6eff
commit
f4035a0802
1 file changed
+2
@@ -124,6 +124,8 @@ public:
|
||||
NextBuffer(numBytes);
|
||||
*bindOffset = 0;
|
||||
*buf = buffers_[buf_].buffer;
|
||||
// Need to mark the allocated range used in the new buffer. How did things work before this?
|
||||
offset_ = numBytes;
|
||||
return writePtr_;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user