summaryrefslogtreecommitdiff
path: root/src/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.cpp')
-rw-r--r--src/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.cpp b/src/core.cpp
index 0de2dbd..bd5ea75 100644
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -649,7 +649,7 @@ load_vk_renderer(void *obj)
static_cast<float>(cg_core.display_height));
cg_core.vk_renderer = new VK::Renderer(
{},
- {std::make_shared<VK::View3D>(region)});
+ {std::make_shared<VK::View3D>(region, region.z, region.w)});
}
catch(const CommandError &e)
{