X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fgraphicsbuffer.h;h=b102c5195e94abe197d81d233403e0621dd48808;hb=33d1adb60806e13863aa3b6c5e1dee9836cd3d04;hp=466534531d8e5ab1b665d37aa5414a6e2e71de38;hpb=f71f97f4fd251d02882ace4be3ead033ced434c4;p=ipdf%2Fcode.git diff --git a/src/graphicsbuffer.h b/src/graphicsbuffer.h index 4665345..b102c51 100644 --- a/src/graphicsbuffer.h +++ b/src/graphicsbuffer.h @@ -1,7 +1,7 @@ #ifndef _GRAPHICSBUFFER_H #define _GRAPHICSBUFFER_H -#include +#include "SDL.h" #include "gl_core44.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;