summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/shared/trianglerenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/shared/trianglerenderer.cpp')
-rw-r--r--examples/vulkan/shared/trianglerenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vulkan/shared/trianglerenderer.cpp b/examples/vulkan/shared/trianglerenderer.cpp
index 7327c5a706..f346f90c89 100644
--- a/examples/vulkan/shared/trianglerenderer.cpp
+++ b/examples/vulkan/shared/trianglerenderer.cpp
@@ -393,7 +393,7 @@ void TriangleRenderer::initSwapChainResources()
qDebug("initSwapChainResources");
// Projection matrix
- m_proj = *m_window->clipCorrectionMatrix(); // adjust for Vulkan-OpenGL clip space differences
+ m_proj = m_window->clipCorrectionMatrix(); // adjust for Vulkan-OpenGL clip space differences
const QSize sz = m_window->swapChainImageSize();
m_proj.perspective(45.0f, sz.width() / (float) sz.height(), 0.01f, 100.0f);
m_proj.translate(0, 0, -4);