summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-18 13:27:31 +0300
committerSergeanur <s.anureev@yandex.ua>2020-07-18 13:27:31 +0300
commitdd717b2d933a024da14e8232fadc1302064ab2bf (patch)
tree9939479581b09e5024b2e464fe8f74e1e810ef43
parentcf5dd6289e5f4a805131aca4b57acb6c5d66adc8 (diff)
Actual fix now xD
-rw-r--r--src/render/Sprite2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Sprite2d.cpp b/src/render/Sprite2d.cpp
index 5f1e79db..b71039e8 100644
--- a/src/render/Sprite2d.cpp
+++ b/src/render/Sprite2d.cpp
@@ -449,7 +449,7 @@ CSprite2d::AddToBuffer(const CRect &r, const CRGBA &c, float u0, float v0, float
bool
CSprite2d::IsVertexBufferFull()
{
- return (nextBufferVertex > TEMPBUFFERINDEXSIZE-128-4 || nextBufferIndex > ARRAY_SIZE(TempBufferRenderIndexList)-6);
+ return (nextBufferVertex > TEMPBUFFERVERTSIZE-128-4 || nextBufferIndex > ARRAY_SIZE(TempBufferRenderIndexList)-6);
}
void