summaryrefslogtreecommitdiff
path: root/ui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/window.h')
-rw-r--r--ui/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/window.h b/ui/window.h
index dc3c528..b3d3f68 100644
--- a/ui/window.h
+++ b/ui/window.h
@@ -10,7 +10,7 @@
#include <special_members.hpp>
#include <string>
-class Shader;
+class SceneShader;
class Window {
public:
@@ -30,7 +30,7 @@ public:
protected:
[[nodiscard]] SDL_GLContext glContext() const;
virtual void render() const;
- virtual const Shader & getShader() const = 0;
+ virtual const SceneShader & getShader() const = 0;
using SDL_WindowPtr = wrapped_ptrt<SDL_Window, SDL_CreateWindow, SDL_DestroyWindow>;
const glm::ivec2 size;