diff options
author | reduz <reduzio@gmail.com> | 2020-12-03 18:09:47 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2020-12-03 19:01:01 -0300 |
commit | e93b2242c2fe21f6a8badd85545a88c58565eb3e (patch) | |
tree | 8ad6b29c045f3351765e1f1ea1ee36c92c2b863b /servers/rendering/rendering_server_canvas.cpp | |
parent | ea7dd1be36abc528f39e7c42725267d01774983b (diff) |
Reorganize rendering server.
-Made RenderingServerScene abstract, allowing reimplementation
-RenderingServerRaster -> RenderingServerDefault, but this class is going away soon.
Diffstat (limited to 'servers/rendering/rendering_server_canvas.cpp')
-rw-r--r-- | servers/rendering/rendering_server_canvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/rendering_server_canvas.cpp b/servers/rendering/rendering_server_canvas.cpp index 0e61d53866..25add1fd55 100644 --- a/servers/rendering/rendering_server_canvas.cpp +++ b/servers/rendering/rendering_server_canvas.cpp @@ -31,8 +31,8 @@ #include "rendering_server_canvas.h" #include "core/math/geometry_2d.h" +#include "rendering_server_default.h" #include "rendering_server_globals.h" -#include "rendering_server_raster.h" #include "rendering_server_viewport.h" static const int z_range = RS::CANVAS_ITEM_Z_MAX - RS::CANVAS_ITEM_Z_MIN + 1; @@ -263,7 +263,7 @@ void RenderingServerCanvas::_cull_canvas_item(Item *p_canvas_item, const Transfo } if (ci->update_when_visible) { - RenderingServerRaster::redraw_request(); + RenderingServerDefault::redraw_request(); } if ((ci->commands != nullptr && p_clip_rect.intersects(global_rect, true)) || ci->vp_render || ci->copy_back_buffer) { |