diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-18 12:09:21 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-18 12:09:21 +0200 |
commit | cf5dd6289e5f4a805131aca4b57acb6c5d66adc8 (patch) | |
tree | 0128edc947d4a32fb4f975768d4b95a6eb1cd773 /src/render/Sprite2d.cpp | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-cf5dd6289e5f4a805131aca4b57acb6c5d66adc8.tar re3-cf5dd6289e5f4a805131aca4b57acb6c5d66adc8.tar.gz re3-cf5dd6289e5f4a805131aca4b57acb6c5d66adc8.tar.bz2 re3-cf5dd6289e5f4a805131aca4b57acb6c5d66adc8.tar.lz re3-cf5dd6289e5f4a805131aca4b57acb6c5d66adc8.tar.xz re3-cf5dd6289e5f4a805131aca4b57acb6c5d66adc8.tar.zst re3-cf5dd6289e5f4a805131aca4b57acb6c5d66adc8.zip |
Diffstat (limited to 'src/render/Sprite2d.cpp')
-rw-r--r-- | src/render/Sprite2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Sprite2d.cpp b/src/render/Sprite2d.cpp index bf39d15e..5f1e79db 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 > ARRAY_SIZE(TempVertexBuffer)-128-4 || nextBufferIndex > ARRAY_SIZE(TempBufferRenderIndexList)-6); + return (nextBufferVertex > TEMPBUFFERINDEXSIZE-128-4 || nextBufferIndex > ARRAY_SIZE(TempBufferRenderIndexList)-6); } void |