summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-05-28 19:12:19 +0200
committerqarmin <mikrutrafal54@gmail.com>2019-05-28 19:12:19 +0200
commit66a36ba474789cb1189ac58bbc554ffddb953461 (patch)
tree0e26f8960f1b84b3d3d880c2667856bffa4fcd92 /servers
parent06633a8074b1695e0f84755275b20adc2df827a6 (diff)
Fix some unincialised variables
Diffstat (limited to 'servers')
-rw-r--r--servers/visual/visual_server_raster.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/servers/visual/visual_server_raster.cpp b/servers/visual/visual_server_raster.cpp
index a9ca920178..310aa16130 100644
--- a/servers/visual/visual_server_raster.cpp
+++ b/servers/visual/visual_server_raster.cpp
@@ -201,8 +201,10 @@ VisualServerRaster::VisualServerRaster() {
VSG::canvas_render = VSG::rasterizer->get_canvas();
VSG::scene_render = VSG::rasterizer->get_scene();
- for (int i = 0; i < 4; i++)
+ for (int i = 0; i < 4; i++) {
black_margin[i] = 0;
+ black_image[i] = RID();
+ }
}
VisualServerRaster::~VisualServerRaster() {