[nostalgia] Cleanup

This commit is contained in:
2023-11-05 10:19:27 -06:00
parent 4ae6fd7c17
commit 868adae053
10 changed files with 139 additions and 124 deletions

View File

@@ -58,9 +58,10 @@ struct TileDoc {
};
oxModelBegin(TileDoc)
oxModelFieldRename(subsheet_id, subsheetId);
oxModelFieldRename(subsheet_path, subsheetPath);
oxModelField(type);
oxModelFieldRename(subsheet_id, subsheetId)
oxModelFieldRename(subsheet_path, subsheetPath)
oxModelField(type)
oxModelFieldRename(layer_attachments, layerAttachments)
oxModelEnd()
struct SceneDoc {

View File

@@ -23,7 +23,7 @@ void SceneEditorView::draw(int width, int height) noexcept {
glutils::resizeInitFrameBuffer(&m_frameBuffer, width, height);
}
const glutils::FrameBufferBind frameBufferBind(m_frameBuffer);
core::gl::drawMainView(m_cctx.get(), {width, height});
core::gl::drawMainView(*m_cctx, {width, height});
}
const glutils::FrameBuffer &SceneEditorView::framebuffer() const noexcept {