diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-03 18:25:28 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-03 18:25:28 +0000 |
commit | f848ad0e672d913c36fcb86533cbc11a9cf9d9ea (patch) | |
tree | e8384bdb074a4e3e53fd9a218b9d9910e6a8256d /ui/window.h | |
parent | Tidied Scene Renderer (diff) | |
download | ilt-f848ad0e672d913c36fcb86533cbc11a9cf9d9ea.tar.bz2 ilt-f848ad0e672d913c36fcb86533cbc11a9cf9d9ea.tar.xz ilt-f848ad0e672d913c36fcb86533cbc11a9cf9d9ea.zip |
Rename Shader to SceneShader
Diffstat (limited to 'ui/window.h')
-rw-r--r-- | ui/window.h | 4 |
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;
|