X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Fbuffer_backend.h;h=446b1d2db2c550ac11838230285c4d1f2617c213;hb=0d94309bc07629feea62bd03837b6e21ccc15b6f;hp=3d76c01a0a5d4bd1de107dc99c58aa5ae66fc454;hpb=a6d84d93ce8c0adde41679a6c6852335e19ada17;p=libs%2Fgl.git diff --git a/source/backends/opengl/buffer_backend.h b/source/backends/opengl/buffer_backend.h index 3d76c01a..446b1d2d 100644 --- a/source/backends/opengl/buffer_backend.h +++ b/source/backends/opengl/buffer_backend.h @@ -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();