Mercurial > molko
diff libmlk-core/mlk/core/texture.c @ 461:d7874f11565f
core: color -> mlk_color
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 27 Feb 2023 09:46:20 +0100 |
parents | 773a082f0b91 |
children | bc5483849614 |
line wrap: on
line diff
--- a/libmlk-core/mlk/core/texture.c Mon Feb 27 09:14:27 2023 +0100 +++ b/libmlk-core/mlk/core/texture.c Mon Feb 27 09:46:20 2023 +0100 @@ -90,7 +90,7 @@ { assert(texture_ok(tex)); - if (SDL_SetTextureColorMod(tex->handle, COLOR_R(color), COLOR_G(color), COLOR_B(color)) < 0) + if (SDL_SetTextureColorMod(tex->handle, MLK_COLOR_R(color), MLK_COLOR_G(color), MLK_COLOR_B(color)) < 0) return errorf("%s", SDL_GetError()); return 0;