summaryrefslogtreecommitdiff
path: root/scene/2d/gpu_particles_2d.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-15 10:28:44 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-15 10:28:44 +0100
commit5f78f24b081b123f480e00fd0cb1dad590ecd964 (patch)
tree47ab1c946a13557c98f162be0a759efef23b7b9d /scene/2d/gpu_particles_2d.h
parent1e9a61cd404c9fbaf55d465268ca665c7acb4828 (diff)
parent9ce57050a5d12776deedd44fcb82dd5841a56686 (diff)
Merge pull request #68426 from clayjohn/GLES3-particles
Add GPUParticles to the OpenGL3 renderer.
Diffstat (limited to 'scene/2d/gpu_particles_2d.h')
-rw-r--r--scene/2d/gpu_particles_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/gpu_particles_2d.h b/scene/2d/gpu_particles_2d.h
index 7fba174357..94555e0bb0 100644
--- a/scene/2d/gpu_particles_2d.h
+++ b/scene/2d/gpu_particles_2d.h
@@ -64,7 +64,7 @@ private:
#endif
Ref<Material> process_material;
- DrawOrder draw_order;
+ DrawOrder draw_order = DRAW_ORDER_LIFETIME;
Ref<Texture2D> texture;