Set default blend mode

Signed-off-by: Thomas Rohloff <v10lator@myway.de>
This commit is contained in:
Thomas Rohloff 2021-07-18 08:14:48 +02:00
parent 37550b59d4
commit e0cc7dfb2e
2 changed files with 2 additions and 2 deletions

View File

@ -51,5 +51,5 @@ private:
SDL_Color color = {0, 0, 0, 0};
protected:
SDL_BlendMode blendMode;
SDL_BlendMode blendMode = SDL_BLENDMODE_NONE;
};

View File

@ -37,5 +37,5 @@ protected:
SDL_Texture *texture = nullptr;
int32_t width = 0;
int32_t height = 0;
SDL_BlendMode blendMode;
SDL_BlendMode blendMode = SDL_BLENDMODE_NONE;
};