mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-22 15:37:59 +01:00
Fix compile.
This commit is contained in:
parent
cd68b6e1e2
commit
67b7c1689f
@ -68,7 +68,6 @@ void CPUParticles2D::set_amount(int p_amount) {
|
|||||||
// being sent to the visual server with set_as_bulk_array,
|
// being sent to the visual server with set_as_bulk_array,
|
||||||
// if this is sent before being regularly updated.
|
// if this is sent before being regularly updated.
|
||||||
particle_data.fill(0);
|
particle_data.fill(0);
|
||||||
particle_data_prev.fill(0);
|
|
||||||
|
|
||||||
RS::get_singleton()->multimesh_allocate(multimesh, p_amount, RS::MULTIMESH_TRANSFORM_2D, RS::MULTIMESH_COLOR_8BIT, RS::MULTIMESH_CUSTOM_DATA_FLOAT);
|
RS::get_singleton()->multimesh_allocate(multimesh, p_amount, RS::MULTIMESH_TRANSFORM_2D, RS::MULTIMESH_COLOR_8BIT, RS::MULTIMESH_CUSTOM_DATA_FLOAT);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user