MacOS build fix

master
Andrey Kleshchev 2023-01-12 19:49:35 +02:00
parent 10a4319c30
commit 1ff3b1ffa5
1 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ public:
auto& pool = type == GL_ELEMENT_ARRAY_BUFFER ? mIBOPool : mVBOPool;
auto& iter = pool.find(size);
Pool::iterator iter = pool.find(size);
if (iter == pool.end())
{ // cache miss, allocate a new buffer
LL_PROFILE_ZONE_NAMED_CATEGORY_VERTEX("vbo pool miss");
@ -374,7 +374,7 @@ public:
auto& pool = type == GL_ELEMENT_ARRAY_BUFFER ? mIBOPool : mVBOPool;
auto& iter = pool.find(size);
Pool::iterator iter = pool.find(size);
if (iter == pool.end())
{