summaryrefslogtreecommitdiff
path: root/ui/window.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-05-28 11:45:01 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-05-28 11:45:01 +0100
commit3c1c392ab177566f09d11a380210e1937741fad2 (patch)
tree67b12689c60dc2e75a5587988dd11bf36c12da9a /ui/window.h
parentAdd glad submodule and build a glad library (diff)
downloadilt-3c1c392ab177566f09d11a380210e1937741fad2.tar.bz2
ilt-3c1c392ab177566f09d11a380210e1937741fad2.tar.xz
ilt-3c1c392ab177566f09d11a380210e1937741fad2.zip
Swap GLEW for more modern glad
Diffstat (limited to 'ui/window.h')
-rw-r--r--ui/window.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/window.h b/ui/window.h
index be9e114..369228a 100644
--- a/ui/window.h
+++ b/ui/window.h
@@ -31,14 +31,14 @@ public:
protected:
virtual void render() const;
- struct GlewInitHelper {
- GlewInitHelper();
+ struct GLInitHelper {
+ GLInitHelper();
};
const glm::ivec2 size;
SDL_WindowPtr m_window;
SDL_GLContextPtr glContext;
- GlewInitHelper glewinithelper;
+ GLInitHelper glInithelper;
Collection<UIComponent> uiComponents;
UIShader uiShader;
};