mirror of
https://github.com/Maschell/libgui-sdl.git
synced 2025-02-21 10:32:03 +01:00
Set default blend mode
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
This commit is contained in:
parent
37550b59d4
commit
e0cc7dfb2e
@ -51,5 +51,5 @@ private:
|
|||||||
SDL_Color color = {0, 0, 0, 0};
|
SDL_Color color = {0, 0, 0, 0};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
SDL_BlendMode blendMode;
|
SDL_BlendMode blendMode = SDL_BLENDMODE_NONE;
|
||||||
};
|
};
|
||||||
|
@ -37,5 +37,5 @@ protected:
|
|||||||
SDL_Texture *texture = nullptr;
|
SDL_Texture *texture = nullptr;
|
||||||
int32_t width = 0;
|
int32_t width = 0;
|
||||||
int32_t height = 0;
|
int32_t height = 0;
|
||||||
SDL_BlendMode blendMode;
|
SDL_BlendMode blendMode = SDL_BLENDMODE_NONE;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user