summaryrefslogtreecommitdiff
path: root/drivers/dummy
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-06-07 13:07:57 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 11:53:26 +0100
commitfd188ddd5176390efb22ed041d8aedad25d81dee (patch)
tree18766edace54f7e3e5ed5c1efe1223de163cad86 /drivers/dummy
parent3e3f8a47616327d7faeb17f558bb81a943385e82 (diff)
Initial work on Vulkan:
-Added VulkanContext -Added an X11 implementation -Added a rendering device abstraction -added a Vulkan rendering device abstraction -Engine does not work, only shows Godot logo (run it from bin/)
Diffstat (limited to 'drivers/dummy')
-rw-r--r--drivers/dummy/rasterizer_dummy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dummy/rasterizer_dummy.h b/drivers/dummy/rasterizer_dummy.h
index 00758a73a4..418e18cb78 100644
--- a/drivers/dummy/rasterizer_dummy.h
+++ b/drivers/dummy/rasterizer_dummy.h
@@ -793,7 +793,7 @@ public:
void clear_render_target(const Color &p_color) {}
void blit_render_target_to_screen(RID p_render_target, const Rect2 &p_screen_rect, int p_screen = 0) {}
void output_lens_distorted_to_screen(RID p_render_target, const Rect2 &p_screen_rect, float p_k1, float p_k2, const Vector2 &p_eye_center, float p_oversample) {}
- void end_frame(bool p_swap_buffers) {}
+ void end_frame(bool p_swap_buffers) { OS::get_singleton()->swap_buffers(); }
void finalize() {}
static Error is_viable() {