X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fgraphicsbuffer.h;h=b102c5195e94abe197d81d233403e0621dd48808;hb=33d1adb60806e13863aa3b6c5e1dee9836cd3d04;hp=fd897712c7d4c00a3dda86475bad1f05b2508bf7;hpb=55790e6cc129dcac3b3d001c7f5c74c288642123;p=ipdf%2Fcode.git diff --git a/src/graphicsbuffer.h b/src/graphicsbuffer.h index fd89771..b102c51 100644 --- a/src/graphicsbuffer.h +++ b/src/graphicsbuffer.h @@ -63,6 +63,7 @@ namespace IPDF GLuint GetHandle() const { return m_buffer_handle; } void Bind() const; + void BindRange(size_t start, size_t size) const; private: bool RecreateBuffer(const void *data = NULL); GLuint m_buffer_handle;