X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FVertexArray.hpp;h=ab02a56f175e9be943b88b9973918bddacfb57f8;hb=ef2427f841a434f93805321f8bbac44be2dd4555;hp=5f70f4227365849f5416b220fd36a679d011f0c7;hpb=2ad195d00eea2c4d48f3f1a3ccc60a8176e7da20;p=blank.git diff --git a/src/graphics/VertexArray.hpp b/src/graphics/VertexArray.hpp index 5f70f42..ab02a56 100644 --- a/src/graphics/VertexArray.hpp +++ b/src/graphics/VertexArray.hpp @@ -24,6 +24,8 @@ public: VertexArray &operator =(VertexArray &&) noexcept; public: + bool Empty() const noexcept { return idx_count == 0; } + void Bind() const noexcept; template