From 56eeb249005e3086da31c966e2c042a86eeaaee7 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 13 May 2025 22:06:08 -0500 Subject: [PATCH] [nostalgia/gfx/opengl] More cleanup --- src/nostalgia/modules/gfx/src/opengl/gfx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nostalgia/modules/gfx/src/opengl/gfx.cpp b/src/nostalgia/modules/gfx/src/opengl/gfx.cpp index 7f47b619..3d3d8f35 100644 --- a/src/nostalgia/modules/gfx/src/opengl/gfx.cpp +++ b/src/nostalgia/modules/gfx/src/opengl/gfx.cpp @@ -28,7 +28,7 @@ static constexpr auto PriorityScale = 0.01f; Drawer::Drawer(Context &ctx) noexcept: m_ctx(ctx) {} void Drawer::draw(turbine::Context &tctx) noexcept { - gfx::gl::draw(m_ctx, turbine::getScreenSize(tctx)); + gl::draw(m_ctx, turbine::getScreenSize(tctx)); } static constexpr ox::CStringView bgvshadTmpl = R"glsl( @@ -672,7 +672,7 @@ ox::Error loadSpriteTileSheet( void setBgTile( Context &ctx, - uint_t bgIdx, + uint_t const bgIdx, int const column, int const row, BgTile const&tile) noexcept { @@ -785,7 +785,7 @@ void draw(Context &ctx, ox::Size const&renderSz) noexcept { glDisable(GL_BLEND); } -void draw(Context &ctx, int scale) noexcept { +void draw(Context &ctx, int const scale) noexcept { draw(ctx, drawSize(scale)); }