[nostalgia/gfx/opengl] More cleanup
All checks were successful
Build / build (push) Successful in 1m56s

This commit is contained in:
Gary Talent 2025-05-13 22:06:08 -05:00
parent ae81f6b3de
commit 56eeb24900

View File

@ -28,7 +28,7 @@ static constexpr auto PriorityScale = 0.01f;
Drawer::Drawer(Context &ctx) noexcept: m_ctx(ctx) {} Drawer::Drawer(Context &ctx) noexcept: m_ctx(ctx) {}
void Drawer::draw(turbine::Context &tctx) noexcept { 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( static constexpr ox::CStringView bgvshadTmpl = R"glsl(
@ -672,7 +672,7 @@ ox::Error loadSpriteTileSheet(
void setBgTile( void setBgTile(
Context &ctx, Context &ctx,
uint_t bgIdx, uint_t const bgIdx,
int const column, int const column,
int const row, int const row,
BgTile const&tile) noexcept { BgTile const&tile) noexcept {
@ -785,7 +785,7 @@ void draw(Context &ctx, ox::Size const&renderSz) noexcept {
glDisable(GL_BLEND); glDisable(GL_BLEND);
} }
void draw(Context &ctx, int scale) noexcept { void draw(Context &ctx, int const scale) noexcept {
draw(ctx, drawSize(scale)); draw(ctx, drawSize(scale));
} }