diff --git a/Window.hpp b/Window.hpp index c1adb6e..26f7187 100644 --- a/Window.hpp +++ b/Window.hpp @@ -37,6 +37,8 @@ namespace sc { SDL_Window* window() const { return _w.get(); } SDL_Renderer* renderer() const { return _r.get(); } + SDL_Texture* texture() const { return _t.get(); } + void set_size(int w, int h); void update() const;