diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:05:08 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:05:08 +0100 |
commit | 767f40a61952892d60d204ecaaffa07e7e396d28 (patch) | |
tree | 383a739a948d56f297c3c83f83960f676d1d2969 /src/example/rendering.cpp | |
parent | 8850ba096b6b4ae2dc3a813620dd35433b3c6c55 (diff) |
color paremeter in sprite works
Diffstat (limited to 'src/example/rendering.cpp')
-rw-r--r-- | src/example/rendering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/rendering.cpp b/src/example/rendering.cpp index a7cb5d6..f481f03 100644 --- a/src/example/rendering.cpp +++ b/src/example/rendering.cpp @@ -33,7 +33,7 @@ int main() { obj.add_component<Camera>(Color::get_red()); } { - Color color(0, 0, 0, 0); + Color color(255, 0, 0, 0); obj1.add_component<Sprite>(make_shared<Texture>("../asset/texture/second.png"), color, FlipSettings{true, true}); obj1.add_component<Sprite>(make_shared<Texture>("../asset/texture/second.png"), color, FlipSettings{true, true}); } |