From c3eea71370eb94cff1fd96185458643fab6eb2c5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 3 Nov 2022 19:47:46 +0000 Subject: Restructure how shaders are worked with Needs a tidy-up --- ui/window.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'ui/window.h') diff --git a/ui/window.h b/ui/window.h index b3d3f68..0661915 100644 --- a/ui/window.h +++ b/ui/window.h @@ -10,8 +10,6 @@ #include #include -class SceneShader; - class Window { public: Window(size_t width, size_t height, const std::string & title); @@ -30,7 +28,6 @@ public: protected: [[nodiscard]] SDL_GLContext glContext() const; virtual void render() const; - virtual const SceneShader & getShader() const = 0; using SDL_WindowPtr = wrapped_ptrt; const glm::ivec2 size; -- cgit v1.2.3