diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-17 15:20:29 +0100 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-17 15:20:29 +0100 | 
| commit | ba99bcbac33d05bc2067c9211c0fe453b2930a8d (patch) | |
| tree | a032c8268fece08866d7f398bf781fd356560579 /src/test/Profiling.cpp | |
| parent | 45a1ab16f29e85de7c2df8832f51967c10c43e92 (diff) | |
| parent | 9232a98b72eee7af4f7f2153c1b2ccedbfa4cc65 (diff) | |
merge master
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 f5ae4b1..f988700 100644 --- a/src/test/Profiling.cpp +++ b/src/test/Profiling.cpp @@ -221,18 +221,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.frame_update();  		this->game_object_count++;  |