set default xSprite clip / projection

This commit is contained in:
Adrien Marquès 2020-02-04 20:21:35 +01:00
parent d1e6a1e9dc
commit 0b7e7a2948
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@
virtual void draw(SDL_Renderer* renderer) override; virtual void draw(SDL_Renderer* renderer) override;
private: private:
SDL_Surface* _surface = NULL; SDL_Surface* _surface = NULL;
SDL_Rect _clip; SDL_Rect _clip { 0, 0, 0, 0 };
SDL_Rect _projection; SDL_Rect _projection { 0, 0, 0, 0 };
mutex _mutex; mutex _mutex;