[nostalgia/core/opengl] Fix duplicate and missing symbol
All checks were successful
Build / build (push) Successful in 2m6s

This commit is contained in:
Gary Talent 2023-12-26 11:59:14 -06:00
parent ffdc0ddb97
commit e7a663901a

View File

@ -592,12 +592,11 @@ void setBgTile(
uint_t bgIdx,
int column,
int row,
unsigned tile,
unsigned palBank) noexcept {
BgTile const&tile) noexcept {
oxTracef(
"nostalgia.core.gfx.setBgTile",
"bgIdx: {}, column: {}, row: {}, tile: {}",
bgIdx, column, row, tile);
"bgIdx: {}, column: {}, row: {}, tile: {}, palBank: {}",
bgIdx, column, row, tile.tileIdx, tile.palBank);
const auto z = static_cast<uint_t>(bgIdx);
const auto y = static_cast<uint_t>(row);
const auto x = static_cast<uint_t>(column);
@ -610,9 +609,9 @@ void setBgTile(
static_cast<uint_t>(i * renderer::BgVertexVboRows),
static_cast<float>(x),
static_cast<float>(y),
static_cast<float>(tile),
static_cast<float>(tile.tileIdx),
bg.priority,
static_cast<float>(palBank * 16),
static_cast<float>(tile.palBank * 16),
vbo,
ebo);
cbb.updated = true;