aboutsummaryrefslogtreecommitdiff
path: root/src/test/Profiling.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-14 11:47:09 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-14 11:47:09 +0100
commiteab3c5a0de59c3f76272b586b375f7914a88a2ee (patch)
tree2a9ec306714ddd37d088fc22197160d48105e743 /src/test/Profiling.cpp
parenta61e3d522c29cfea966a06bb9f9e5e42eae2b7ab (diff)
parent3d237aed79980e8703ca53df0549e0b48816e464 (diff)
merge jaro/particle-system-improvement
Diffstat (limited to 'src/test/Profiling.cpp')
-rw-r--r--src/test/Profiling.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/Profiling.cpp b/src/test/Profiling.cpp
index f5ae4b1..7dbf110 100644
--- a/src/test/Profiling.cpp
+++ b/src/test/Profiling.cpp
@@ -221,7 +221,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,
@@ -231,7 +231,6 @@ TEST_F(DISABLED_ProfilingTest, Profiling_3) {
.offset = vec2{0, 0},
.reset_on_exit = false,
},
- .sprite = test_sprite,
});
}
render_sys.frame_update();