[nostalgia/core/opengl] Fix duplicate and missing symbol
All checks were successful
Build / build (push) Successful in 2m6s
All checks were successful
Build / build (push) Successful in 2m6s
This commit is contained in:
parent
ffdc0ddb97
commit
e7a663901a
@ -592,12 +592,11 @@ void setBgTile(
|
|||||||
uint_t bgIdx,
|
uint_t bgIdx,
|
||||||
int column,
|
int column,
|
||||||
int row,
|
int row,
|
||||||
unsigned tile,
|
BgTile const&tile) noexcept {
|
||||||
unsigned palBank) noexcept {
|
|
||||||
oxTracef(
|
oxTracef(
|
||||||
"nostalgia.core.gfx.setBgTile",
|
"nostalgia.core.gfx.setBgTile",
|
||||||
"bgIdx: {}, column: {}, row: {}, tile: {}",
|
"bgIdx: {}, column: {}, row: {}, tile: {}, palBank: {}",
|
||||||
bgIdx, column, row, tile);
|
bgIdx, column, row, tile.tileIdx, tile.palBank);
|
||||||
const auto z = static_cast<uint_t>(bgIdx);
|
const auto z = static_cast<uint_t>(bgIdx);
|
||||||
const auto y = static_cast<uint_t>(row);
|
const auto y = static_cast<uint_t>(row);
|
||||||
const auto x = static_cast<uint_t>(column);
|
const auto x = static_cast<uint_t>(column);
|
||||||
@ -610,9 +609,9 @@ void setBgTile(
|
|||||||
static_cast<uint_t>(i * renderer::BgVertexVboRows),
|
static_cast<uint_t>(i * renderer::BgVertexVboRows),
|
||||||
static_cast<float>(x),
|
static_cast<float>(x),
|
||||||
static_cast<float>(y),
|
static_cast<float>(y),
|
||||||
static_cast<float>(tile),
|
static_cast<float>(tile.tileIdx),
|
||||||
bg.priority,
|
bg.priority,
|
||||||
static_cast<float>(palBank * 16),
|
static_cast<float>(tile.palBank * 16),
|
||||||
vbo,
|
vbo,
|
||||||
ebo);
|
ebo);
|
||||||
cbb.updated = true;
|
cbb.updated = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user