X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fgraphicsbuffer.h;h=7cec235ec7484d1764e1918821edffcc9dc73e7a;hp=47534c9b3cbb244f15f419fa0798d4abccbc4efc;hb=b8c16a21a8f59ff8cde6bb546cc44a6fc422c2b7;hpb=eff96d65bd1101083e04cb3ff2468b3feea3ff9e diff --git a/src/graphicsbuffer.h b/src/graphicsbuffer.h index 47534c9..7cec235 100644 --- a/src/graphicsbuffer.h +++ b/src/graphicsbuffer.h @@ -2,8 +2,7 @@ #define _GRAPHICSBUFFER_H #include -#define GL_GLEXT_PROTOTYPES -#include +#include "gl_core44.h" namespace IPDF @@ -56,7 +55,7 @@ namespace IPDF void Invalidate(); - void Bind(); + void Bind() const; private: void RecreateBuffer(); GLuint m_buffer_handle;