summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_canvas.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-12-04 08:36:31 +0100
committerGitHub <noreply@github.com>2020-12-04 08:36:31 +0100
commit328af1db751843c26b7dc77d158cfcd5a4fab9a0 (patch)
tree9e17089d0a8f97eb0fdcc932ebd1e94c50ae4dae /servers/rendering/rendering_server_canvas.cpp
parent586a20875db91aa4a882ab3abfcd6664ad1d64e6 (diff)
parente93b2242c2fe21f6a8badd85545a88c58565eb3e (diff)
Merge pull request #44074 from reduz/reorganize-3d
Reorganize rendering server.
Diffstat (limited to 'servers/rendering/rendering_server_canvas.cpp')
-rw-r--r--servers/rendering/rendering_server_canvas.cpp4
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) {