Skip to content

Commit

Permalink
static style check error
Browse files Browse the repository at this point in the history
no whitespace between params
  • Loading branch information
AtlaStar committed Oct 11, 2024
1 parent 7338a3b commit f180f23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ void ParticlesStorage::_particles_process(Particles *p_particles, double p_delta
int32_t zero[4] = { 0, sub_emitter->amount, 0, 0 };
auto buff = sub_emitter->emission_buffer;

auto data = RD::get_singleton()->buffer_get_data(sub_emitter->emission_storage_buffer, 0,sizeof(int32_t));
auto data = RD::get_singleton()->buffer_get_data(sub_emitter->emission_storage_buffer, 0, sizeof(int32_t));
int32_t val = *(int32_t *)(data.ptr());
if (!buff || val < 0) {
RD::get_singleton()->buffer_update(sub_emitter->emission_storage_buffer, 0, sizeof(uint32_t) * 4 + sizeof(ParticleEmissionBuffer::Data) * sub_emitter->emission_buffer->particle_count, sub_emitter->emission_buffer);
Expand Down

0 comments on commit f180f23

Please sign in to comment.