diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-20 10:43:32 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-20 10:43:32 +0100 |
commit | 690471c7c4536c074a4dca5aab7cc618d47bfb5f (patch) | |
tree | 35dcf3858b8f86a031cf5070de9caa069af4257d /src/example/rendering.cpp | |
parent | d81ecc242ff88ffd49e0b5296dfb23ab54a0cd78 (diff) |
merge with maser
Diffstat (limited to 'src/example/rendering.cpp')
-rw-r--r-- | src/example/rendering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/rendering.cpp b/src/example/rendering.cpp index c9e62f1..14ecaa9 100644 --- a/src/example/rendering.cpp +++ b/src/example/rendering.cpp @@ -30,13 +30,13 @@ int main() { // Normal adding components { Color color(0, 0, 0, 0); - obj.add_component<Sprite>(make_shared<Texture>("../asset/texture/img.png"), color, + obj.add_component<Sprite>(make_shared<Texture>("/home/jaro/crepe/asset/texture/green_square.png"), color, FlipSettings{false, false}); obj.add_component<Camera>(Color::get_red()); } { Color color(0, 0, 0, 0); - obj1.add_component<Sprite>(make_shared<Texture>("../asset/texture/second.png"), color, + obj1.add_component<Sprite>(make_shared<Texture>("/home/jaro/crepe/asset/texture/green_square.png"), color, FlipSettings{true, true}); } |