X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fbatch.cpp;h=56c25efb592e990e7438eae5932c53b4b9af7b72;hb=cdefdb4b0f94613c2b41757fb33ae155efa9a205;hp=83b7d49b53b69885799a03bfea9e9f33cbb7b4f4;hpb=9eb9f592d37e9a1e05c2ff70887a1c5f26b98864;p=libs%2Fgl.git 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); }