added getter for the texture
This commit is contained in:
parent
84a196ab1a
commit
582de4df22
@ -37,6 +37,8 @@ namespace sc {
|
|||||||
|
|
||||||
SDL_Window* window() const { return _w.get(); }
|
SDL_Window* window() const { return _w.get(); }
|
||||||
SDL_Renderer* renderer() const { return _r.get(); }
|
SDL_Renderer* renderer() const { return _r.get(); }
|
||||||
|
SDL_Texture* texture() const { return _t.get(); }
|
||||||
|
|
||||||
void set_size(int w, int h);
|
void set_size(int w, int h);
|
||||||
|
|
||||||
void update() const;
|
void update() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user