diff --git a/include/pd/lithium/command.hpp b/include/pd/lithium/command.hpp index f3b96d3..06936ad 100644 --- a/include/pd/lithium/command.hpp +++ b/include/pd/lithium/command.hpp @@ -24,7 +24,7 @@ class Command { FirstIndex = AllocateIndices(idx, (PD::ptr)this); IndexCountMax = idx; } else { - ExpandVertices(idx, (PD::ptr)this); + ExpandIndices(idx, (PD::ptr)this); IndexCountMax += idx; } } diff --git a/include/pd/lithium/pools.hpp b/include/pd/lithium/pools.hpp index dd19f0e..fbdce30 100644 --- a/include/pd/lithium/pools.hpp +++ b/include/pd/lithium/pools.hpp @@ -16,7 +16,7 @@ PD_API size_t AllocateVertices(size_t count, PD::ptr accessor); */ PD_API size_t AllocateIndices(size_t count, PD::ptr accessor); PD_API bool ExpandVertices(size_t count, PD::ptr accessor); -PD_API bool EcpandIndices(size_t count, PD::ptr accessor); +PD_API bool ExpandIndices(size_t count, PD::ptr accessor); PD_API void PutVertex(size_t loc, const Vertex& vtx, PD::ptr accessor); PD_API void PutIndex(size_t loc, u16 idx, PD::ptr accessor); PD_API const Vertex& GetVertex(size_t loc); diff --git a/source/lithium/pools.cpp b/source/lithium/pools.cpp index 80ad5d0..ca4db77 100644 --- a/source/lithium/pools.cpp +++ b/source/lithium/pools.cpp @@ -28,9 +28,9 @@ PD_API bool ExpandVertices(size_t count, PD::ptr accessor) { return true; } -PD_API bool EcpandIndices(size_t count, PD::ptr accessor) { +PD_API bool ExpandIndices(size_t count, PD::ptr accessor) { if (pIndexAccessor != accessor) return false; - pVtxPool.Allocate(count); + pIdxPool.Allocate(count); return true; } diff --git a/tests/gfx/source/main.cpp b/tests/gfx/source/main.cpp index 7c4fb3b..9ce7671 100644 --- a/tests/gfx/source/main.cpp +++ b/tests/gfx/source/main.cpp @@ -42,7 +42,6 @@ int main(int argc, char** argv) { PD::Li::Font font; font.LoadTTF(ResourcePath("default.ttf")); pList.SetFont(&font); - pList.SetFontscale(0.7f); while (pOs->Mainloop()) { pOs->ClearViewPort(); PD::Li::ResetPools();