diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:17:25 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:17:25 +0100 |
commit | e70c2a3a4a7f636f190cc64792029cadd3613337 (patch) | |
tree | 8371b0e067430db780b72638eb61555869641979 /src/test/Profiling.cpp | |
parent | 68be6b67f79413cb4af0ca15262ca1547a7d0d41 (diff) | |
parent | 9957da232e7c96f7f88a7ab0edfa4aaf560d1c00 (diff) |
Merge branch 'master' into niels/UI
Diffstat (limited to 'src/test/Profiling.cpp')
-rw-r--r-- | src/test/Profiling.cpp | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/test/Profiling.cpp b/src/test/Profiling.cpp index 35f52dc..16736b8 100644 --- a/src/test/Profiling.cpp +++ b/src/test/Profiling.cpp @@ -219,18 +219,19 @@ TEST_F(DISABLED_ProfilingTest, Profiling_3) { .order_in_layer = 1, .size = {.y = 500}, }); - auto & test = gameobject.add_component<ParticleEmitter>(ParticleEmitter::Data{ - .max_particles = 10, - .emission_rate = 100, - .end_lifespan = 100000, - .boundary{ - .width = 1000, - .height = 1000, - .offset = vec2{0, 0}, - .reset_on_exit = false, - }, - .sprite = test_sprite, - }); + auto & test = gameobject.add_component<ParticleEmitter>( + test_sprite, ParticleEmitter::Data{ + .max_particles = 10, + .emission_rate = 100, + .end_lifespan = 100000, + .boundary{ + .width = 1000, + .height = 1000, + .offset = vec2{0, 0}, + .reset_on_exit = false, + }, + + }); } render_sys.update(); this->game_object_count++; |