mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-09 15:28:29 -04:00
Cosmetic fix
This commit is contained in:
parent
8575ea5879
commit
7f174505eb
@ -171,7 +171,7 @@ SDL_BlendMode Texture::GetBlendMode() const {
|
|||||||
return mode;
|
return mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Texture::GetColorMod(Uint8& r, Uint8& g, Uint8 &b) const {
|
void Texture::GetColorMod(Uint8& r, Uint8& g, Uint8& b) const {
|
||||||
if (SDL_GetTextureColorMod(texture_, &r, &g, &b) != 0)
|
if (SDL_GetTextureColorMod(texture_, &r, &g, &b) != 0)
|
||||||
throw Exception("SDL_GetTextureBlendMode failed");
|
throw Exception("SDL_GetTextureBlendMode failed");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user