From de61720146a1ce0640322dff992462bfbecafdc3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 18 Dec 2021 15:08:45 +0000 Subject: Push uiShader into the window class --- ui/window.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/window.h') diff --git a/ui/window.h b/ui/window.h index 8bfc9c3..97a0253 100644 --- a/ui/window.h +++ b/ui/window.h @@ -3,6 +3,7 @@ #include "chronology.hpp" #include "collection.hpp" +#include "gfx/gl/uiShader.h" #include "inputHandler.h" // IWYU pragma: keep #include "ptr.hpp" #include @@ -14,7 +15,7 @@ class GameState; class Window { public: - Window(int width, int height, const std::string & title); + Window(size_t width, size_t height, const std::string & title); virtual ~Window() = default; NO_COPY(Window); @@ -34,6 +35,7 @@ protected: using SDL_WindowPtr = wrapped_ptrt; SDL_WindowPtr m_window; Collection inputStack; + UIShader uiShader; }; #endif -- cgit v1.2.3