diff --git a/libs/gfx/include/psemek/gfx/mesh.hpp b/libs/gfx/include/psemek/gfx/mesh.hpp index e583d6af..bbfa59b3 100644 --- a/libs/gfx/include/psemek/gfx/mesh.hpp +++ b/libs/gfx/include/psemek/gfx/mesh.hpp @@ -605,7 +605,7 @@ namespace psemek::gfx gl::DrawElements(primitive_type_, count_, index_type_, nullptr); } - GLsizei count() const + GLsizei index_count() const { return count_; }