[nostaliga] Cleanup

This commit is contained in:
2023-06-03 22:06:08 -05:00
parent 8c7f6ffafc
commit 2887fa7819
15 changed files with 31 additions and 49 deletions
@@ -6,8 +6,6 @@
#include <keel/media.hpp>
#include <nostalgia/core/gfx.hpp>
#include "sceneeditor-imgui.hpp"
namespace nostalgia::scene {
@@ -6,7 +6,7 @@
#include <studio/studio.hpp>
#include <nostalgia/core/gfx.hpp>
#include <turbine/context.hpp>
#include "sceneeditor.hpp"
#include "sceneeditorview.hpp"
@@ -2,6 +2,8 @@
* Copyright 2016 - 2023 Gary Talent (gary@drinkingtea.net). All rights reserved.
*/
#include <keel/keel.hpp>
#include "sceneeditor.hpp"
namespace nostalgia::scene {
+1 -2
View File
@@ -4,9 +4,8 @@
#pragma once
#include <studio/studio.hpp>
#include <turbine/context.hpp>
#include <nostalgia/core/gfx.hpp>
#include <nostalgia/scene/scene.hpp>
namespace nostalgia::scene {
@@ -2,7 +2,7 @@
* Copyright 2016 - 2023 Gary Talent (gary@drinkingtea.net). All rights reserved.
*/
#include <nostalgia/core/core.hpp>
#include <nostalgia/core/gfx.hpp>
#include "sceneeditorview.hpp"
@@ -22,7 +22,7 @@ void SceneEditorView::draw(int width, int height) noexcept {
if (width != m_frameBuffer.width || height != m_frameBuffer.height) {
glutils::resizeInitFrameBuffer(&m_frameBuffer, width, height);
}
glutils::FrameBufferBind frameBufferBind(m_frameBuffer);
const glutils::FrameBufferBind frameBufferBind(m_frameBuffer);
core::gl::drawMainView(m_cctx.get(), {width, height});
}
@@ -6,7 +6,7 @@
#include <glutils/glutils.hpp>
#include <nostalgia/core/gfx.hpp>
#include <nostalgia/core/context.hpp>
#include <nostalgia/scene/scene.hpp>
namespace nostalgia::scene {
@@ -4,7 +4,6 @@
#pragma once
#include <turbine/turbine.hpp>
#include <studio/studio.hpp>
namespace nostalgia::scene {