summaryrefslogtreecommitdiff
path: root/ui/iconButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/iconButton.h')
-rw-r--r--ui/iconButton.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/iconButton.h b/ui/iconButton.h
index ec3f357..76e3f1b 100644
--- a/ui/iconButton.h
+++ b/ui/iconButton.h
@@ -3,7 +3,8 @@
#include "icon.h"
#include "uiComponent.h"
-#include <GL/glew.h>
+#include <glBuffers.h>
+#include <glVertexArrays.h>
#include <glm/glm.hpp>
#include <string>
@@ -21,7 +22,8 @@ public:
Icon icon;
UIEvent click;
- GLuint m_vertexArrayObject, m_vertexArrayBuffer;
+ glVertexArray m_vertexArrayObject;
+ glBuffer m_vertexArrayBuffer;
};
#endif