]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/batch.cpp
Remove some obsolete things
[libs/gl.git] / source / core / batch.cpp
index 2be5cc3a69ffacd2472f2575da0b480db37b3989..1469ab110ee61d1ec69c37616f43ed310d3315e5 100644 (file)
@@ -48,15 +48,12 @@ void shrink(vector<Msp::UInt8> &data)
 namespace Msp {
 namespace GL {
 
-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),
-       restart(false)
+       max_index(0)
 { }
 
 Batch::~Batch()
@@ -134,7 +131,6 @@ Batch &Batch::append(const Batch &other)
                ;
        else if(MSP_primitive_restart)
        {
-               restart = true;
                if(index_type==UNSIGNED_INT)
                        ::append<UInt32>(data, 0xFFFFFFFF);
                else