summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkancubes/renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkancubes/renderer.cpp')
-rw-r--r--examples/vulkan/hellovulkancubes/renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vulkan/hellovulkancubes/renderer.cpp b/examples/vulkan/hellovulkancubes/renderer.cpp
index 3b837d85d4..523511337d 100644
--- a/examples/vulkan/hellovulkancubes/renderer.cpp
+++ b/examples/vulkan/hellovulkancubes/renderer.cpp
@@ -511,7 +511,7 @@ void Renderer::createFloorPipeline()
void Renderer::initSwapChainResources()
{
- m_proj = *m_window->clipCorrectionMatrix();
+ m_proj = m_window->clipCorrectionMatrix();
const QSize sz = m_window->swapChainImageSize();
m_proj.perspective(45.0f, sz.width() / (float) sz.height(), 0.01f, 1000.0f);
markViewProjDirty();