diff options
author | Gustav Lund <glu@gamblify.com> | 2018-05-09 08:11:43 +0200 |
---|---|---|
committer | Gustav Lund <glu@gamblify.com> | 2018-06-05 16:33:02 +0200 |
commit | 35eb7f2d6a1f872435dad3a295dc8b93721086aa (patch) | |
tree | b84b9f1a2852af32ee9fb0981b5be73fae8f59a4 /drivers/dummy | |
parent | 6a69f92370ba82befdfdf3c2f798b6b2fd6df1fb (diff) |
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
Diffstat (limited to 'drivers/dummy')
-rw-r--r-- | drivers/dummy/rasterizer_dummy.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Image> &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) {} |