]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/batch.h
Decouple DataType from the OpenGL constants
[libs/gl.git] / source / core / batch.h
index 2e4ad9ef3005d9d01c15dbdc4d119ce79f570460..0435feec29eb6ccfa874c44530823f53c564e3b7 100644 (file)
@@ -34,6 +34,7 @@ public:
 private:
        PrimitiveType prim_type;
        DataType index_type;
+       GLenum gl_index_type;
        std::vector<UInt8> data;
        unsigned max_index;
        bool restart;