diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-14 20:02:25 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-14 20:02:25 +0100 |
commit | 723063e8cb49e3452a85c4fc9ce82380b87bc73e (patch) | |
tree | c79fd24cf6ac089113c4d5304e073c47812b0ce5 /src/test/Profiling.cpp | |
parent | f74206f79e1fca7ae5152bf66a9b2201f0957985 (diff) |
updated test
Diffstat (limited to 'src/test/Profiling.cpp')
-rw-r--r-- | src/test/Profiling.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/Profiling.cpp b/src/test/Profiling.cpp index 35f52dc..1585061 100644 --- a/src/test/Profiling.cpp +++ b/src/test/Profiling.cpp @@ -219,7 +219,7 @@ TEST_F(DISABLED_ProfilingTest, Profiling_3) { .order_in_layer = 1, .size = {.y = 500}, }); - auto & test = gameobject.add_component<ParticleEmitter>(ParticleEmitter::Data{ + auto & test = gameobject.add_component<ParticleEmitter>(test_sprite,ParticleEmitter::Data{ .max_particles = 10, .emission_rate = 100, .end_lifespan = 100000, @@ -229,8 +229,9 @@ TEST_F(DISABLED_ProfilingTest, Profiling_3) { .offset = vec2{0, 0}, .reset_on_exit = false, }, - .sprite = test_sprite, - }); + + } + ); } render_sys.update(); this->game_object_count++; |