We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdf6c6b commit 30420b7Copy full SHA for 30420b7
1 file changed
Sources/Overload/OvEditor/src/OvEditor/Panels/AView.cpp
@@ -50,9 +50,7 @@ void OvEditor::Panels::AView::Render()
50
51
EDITOR_CONTEXT(shapeDrawer)->SetViewProjection(m_camera.GetProjectionMatrix() * m_camera.GetViewMatrix());
52
53
- auto& baseRenderer = *EDITOR_CONTEXT(renderer).get();
54
-
55
- baseRenderer.SetViewPort(0, 0, winWidth, winHeight);
+ EDITOR_CONTEXT(renderer)->SetViewPort(0, 0, winWidth, winHeight);
56
57
_Render_Impl();
58
}
@@ -115,4 +113,3 @@ void OvEditor::Panels::AView::PrepareCamera()
115
113
auto [winWidth, winHeight] = GetSafeSize();
116
114
m_camera.CacheMatrices(winWidth, winHeight, m_cameraPosition, m_cameraRotation);
117
118
0 commit comments