mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 04:56:24 +02:00
Enforce the drawbuffer overflow check in release too.
This commit is contained in:
1 parent
089e80d365
commit
f71f3183b2
1 file changed
-2
@@ -122,12 +122,10 @@ void DrawBuffer::Flush(bool set_blend_state) {
|
||||
}
|
||||
|
||||
void DrawBuffer::V(float x, float y, float z, uint32 color, float u, float v) {
|
||||
#ifdef _DEBUG
|
||||
if (count_ >= MAX_VERTS) {
|
||||
FLOG("Overflowed the DrawBuffer");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
Vertex *vert = &verts_[count_++];
|
||||
vert->x = x;
|
||||
|
||||
Reference in new issue
Block a user