aboutsummaryrefslogtreecommitdiff
path: root/src/test/Profiling.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-17 14:06:02 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-17 14:06:02 +0100
commitc00c83ee9982a7decda341ace95303f131d1b5c0 (patch)
tree097a81e7d5a7857e22e737a27de5481fd0e6c260 /src/test/Profiling.cpp
parentcc2ec343367ebaa3b6a6142532f7a067c3c981a1 (diff)
parent20d19e3c714d3e8ca3e35c170c07c563ecc719bb (diff)
Merge branch 'jaro/particle-system-improvement' of github.com:lonkaars/crepe
Diffstat (limited to 'src/test/Profiling.cpp')
-rw-r--r--src/test/Profiling.cpp7
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++;