diff --git a/xSDL/xSprite.h b/xSDL/xSprite.h index e3dab2d..c0961b1 100644 --- a/xSDL/xSprite.h +++ b/xSDL/xSprite.h @@ -47,8 +47,8 @@ virtual void draw(SDL_Renderer* renderer) override; private: SDL_Surface* _surface = NULL; - SDL_Rect _clip; - SDL_Rect _projection; + SDL_Rect _clip { 0, 0, 0, 0 }; + SDL_Rect _projection { 0, 0, 0, 0 }; mutex _mutex;