]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/batch.h
An assortment of minor fixes
[libs/gl.git] / source / core / batch.h
index f3495860e4b4297d072869f73082ce6f4e6a7c7b..2ac2c43c17f1eeb26c75626c2efd4064bf3d4880 100644 (file)
@@ -37,7 +37,7 @@ private:
        PrimitiveType prim_type;
        DataType index_type;
        std::vector<std::uint8_t> data;
-       unsigned max_index;
+       unsigned max_index = 0;
        unsigned patch_size = 3;
 
 public: