+#include <msp/gl/extensions/ext_draw_range_elements.h>
+#include <msp/gl/extensions/nv_primitive_restart.h>
#include "batch.h"
#include "bindable.h"
#include "buffer.h"
#include "error.h"
-#include "ext_draw_range_elements.h"
-#include "nv_primitive_restart.h"
#include "vertexarray.h"
using namespace std;
Batch &Batch::append(unsigned i)
{
append_index(i);
-
+
update_offset();
dirty = true;