X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fbatch.cpp;fp=source%2Fcore%2Fbatch.cpp;h=2be5cc3a69ffacd2472f2575da0b480db37b3989;hb=a60b558e1c327fd2e2600ad2551dc0ac648761f2;hp=d53156bd7a66c7bba1bc922e92aa07c4d190c30b;hpb=ebef7085e2672866189ccdb3a89e977e678a89b9;p=libs%2Fgl.git diff --git a/source/core/batch.cpp b/source/core/batch.cpp index d53156bd..2be5cc3a 100644 --- a/source/core/batch.cpp +++ b/source/core/batch.cpp @@ -52,6 +52,7 @@ unsigned Batch::restart_index = 0; Batch::Batch(PrimitiveType t): prim_type(t), + gl_prim_type(GL::get_gl_primitive_type(prim_type)), index_type(UNSIGNED_SHORT), gl_index_type(get_gl_type(index_type)), max_index(0),