]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/buffer_backend.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / backends / opengl / buffer_backend.h
index 3d76c01a0a5d4bd1de107dc99c58aa5ae66fc454..446b1d2db2c550ac11838230285c4d1f2617c213 100644 (file)
@@ -20,7 +20,9 @@ protected:
        ~OpenGLBuffer();
 
        void allocate();
-       void sub_data(size_t, size_t, const void *);
+       void sub_data(std::size_t, std::size_t, const void *);
+
+       unsigned get_multiplicity() const { return 1; }
 
        bool can_map() const { return true; }
        void *map();