X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fbatch.h;h=2ac2c43c17f1eeb26c75626c2efd4064bf3d4880;hb=857e0a3f684fba4810260697a78a769dff514f1f;hp=f3495860e4b4297d072869f73082ce6f4e6a7c7b;hpb=9eb9f592d37e9a1e05c2ff70887a1c5f26b98864;p=libs%2Fgl.git diff --git a/source/core/batch.h b/source/core/batch.h index f3495860..2ac2c43c 100644 --- a/source/core/batch.h +++ b/source/core/batch.h @@ -37,7 +37,7 @@ private: PrimitiveType prim_type; DataType index_type; std::vector data; - unsigned max_index; + unsigned max_index = 0; unsigned patch_size = 3; public: