X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel.hpp;h=ea9bf119e80e6061084117edb0e1c11549a8b1a0;hb=f01ebd81ff047eb3209e25e183564f72f587915f;hp=6e9583b3ec84f6ae05c7f1beaeeaa05b7e36e75b;hpb=82426ae2997d2b21703d2d5afb631a84736e975f;p=blank.git diff --git a/src/model.hpp b/src/model.hpp index 6e9583b..ea9bf11 100644 --- a/src/model.hpp +++ b/src/model.hpp @@ -34,6 +34,7 @@ public: void Clear(); void Reserve(int vtx_count, int idx_count); + void CheckUpdate(); void Draw(); private: @@ -48,6 +49,7 @@ private: ATTRIB_COUNT, }; + GLuint va; GLuint handle[ATTRIB_COUNT]; bool dirty; @@ -89,6 +91,7 @@ private: ATTRIB_COUNT, }; + GLuint va; GLuint handle[ATTRIB_COUNT]; bool dirty;