X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fbatch.cpp;h=56c25efb592e990e7438eae5932c53b4b9af7b72;hp=83b7d49b53b69885799a03bfea9e9f33cbb7b4f4;hb=857e0a3f684fba4810260697a78a769dff514f1f;hpb=afffed5bf161b5972a02f055225701118ed5a4e7 diff --git a/source/core/batch.cpp b/source/core/batch.cpp index 83b7d49b..56c25efb 100644 --- a/source/core/batch.cpp +++ b/source/core/batch.cpp @@ -47,8 +47,7 @@ namespace GL { Batch::Batch(PrimitiveType t): BatchBackend(t), prim_type(t), - index_type(VOID), - max_index(0) + index_type(VOID) { set_index_type(UNSIGNED_SHORT); }