[glutils,nostalgia] Ptr to ref changes
This commit is contained in:
@@ -20,9 +20,9 @@ ox::Error SceneEditorView::setupScene() noexcept {
|
||||
|
||||
void SceneEditorView::draw(int width, int height) noexcept {
|
||||
if (width != m_frameBuffer.width || height != m_frameBuffer.height) {
|
||||
glutils::resizeInitFrameBuffer(&m_frameBuffer, width, height);
|
||||
glutils::resizeInitFrameBuffer(m_frameBuffer, width, height);
|
||||
}
|
||||
const glutils::FrameBufferBind frameBufferBind(m_frameBuffer);
|
||||
glutils::FrameBufferBind const frameBufferBind(m_frameBuffer);
|
||||
core::gl::draw(*m_cctx, {width, height});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user