summaryrefslogtreecommitdiff
path: root/drivers/dummy
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2018-07-17 16:47:41 +0200
committerGitHub <noreply@github.com>2018-07-17 16:47:41 +0200
commit4b626dc1149a523c1a1d05064994521d1460e527 (patch)
tree6b8cf61624123c3d2205df12e901ff8518730585 /drivers/dummy
parentc5690240b440871f2121afa3cc8c470152836558 (diff)
parentcef8d355d2d4683d538a3ec1ac2ba7f181573c70 (diff)
Merge pull request #19764 from malbach/godot_malbach
Fix #19507 Not emitted particles affects performance
Diffstat (limited to 'drivers/dummy')
-rw-r--r--drivers/dummy/rasterizer_dummy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dummy/rasterizer_dummy.h b/drivers/dummy/rasterizer_dummy.h
index bab89f649a..2cab7c0133 100644
--- a/drivers/dummy/rasterizer_dummy.h
+++ b/drivers/dummy/rasterizer_dummy.h
@@ -682,6 +682,7 @@ public:
void particles_set_emission_transform(RID p_particles, const Transform &p_transform) {}
bool particles_get_emitting(RID p_particles) { return false; }
+ bool particles_get_inactive(RID p_particles) { return false; }
int particles_get_draw_passes(RID p_particles) const { return 0; }
RID particles_get_draw_pass_mesh(RID p_particles, int p_pass) const { return RID(); }