From 35eb7f2d6a1f872435dad3a295dc8b93721086aa Mon Sep 17 00:00:00 2001 From: Gustav Lund Date: Wed, 9 May 2018 08:11:43 +0200 Subject: Rasterizers are now in sync with engine The rasterisers (both GLES3 and GLES2) were calculating their own frame delta time This fix lets the rasterizers get the frame delta through the draw call That way any regulations to the frame step from the main script will not cause particle systems to process at a different step than the rest of the Engine. Remove unused rasterizer storage variable frame.prev_tick variable were not used anywhere and has been removed --- drivers/dummy/rasterizer_dummy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/dummy') diff --git a/drivers/dummy/rasterizer_dummy.h b/drivers/dummy/rasterizer_dummy.h index 312d5aa378..66c1011914 100644 --- a/drivers/dummy/rasterizer_dummy.h +++ b/drivers/dummy/rasterizer_dummy.h @@ -772,7 +772,7 @@ public: void set_boot_image(const Ref &p_image, const Color &p_color, bool p_scale) {} void initialize() {} - void begin_frame() {} + void begin_frame(double frame_step) {} void set_current_render_target(RID p_render_target) {} void restore_render_target() {} void clear_render_target(const Color &p_color) {} -- cgit v1.2.3