[nostalgia/core/opengl] Cleanup
This commit is contained in:
parent
8764444758
commit
ceb54b3f1b
@ -111,15 +111,15 @@ static constexpr auto bgVertexRow(uint_t x, uint_t y) noexcept {
|
||||
}
|
||||
|
||||
static void setSpriteBufferObject(
|
||||
uint_t vi,
|
||||
float enabled,
|
||||
uint_t const vi,
|
||||
float const enabled,
|
||||
float x,
|
||||
float y,
|
||||
uint_t textureRow,
|
||||
uint_t flipX,
|
||||
uint_t priority,
|
||||
ox::Span<float> vbo,
|
||||
ox::Span<GLuint> ebo) noexcept {
|
||||
uint_t const textureRow,
|
||||
uint_t const flipX,
|
||||
uint_t const priority,
|
||||
ox::Span<float> const vbo,
|
||||
ox::Span<GLuint> const ebo) noexcept {
|
||||
// don't worry, this memcpy gets optimized to something much more ideal
|
||||
constexpr float xmod = 0.1f;
|
||||
constexpr float ymod = 0.1f;
|
||||
@ -147,16 +147,16 @@ static void setSpriteBufferObject(
|
||||
}
|
||||
|
||||
static void setTileBufferObject(
|
||||
uint_t vi,
|
||||
uint_t const vi,
|
||||
float x,
|
||||
float y,
|
||||
float textureTileIdx,
|
||||
float priority,
|
||||
float palOffset,
|
||||
bool flipX,
|
||||
bool flipY,
|
||||
ox::Span<float> vbo,
|
||||
ox::Span<GLuint> ebo) noexcept {
|
||||
float const textureTileIdx,
|
||||
float const priority,
|
||||
float const palOffset,
|
||||
bool const flipX,
|
||||
bool const flipY,
|
||||
ox::Span<float> const vbo,
|
||||
ox::Span<GLuint> const ebo) noexcept {
|
||||
// don't worry, this memcpy gets optimized to something much more ideal
|
||||
constexpr float ymod = 0.1f;
|
||||
constexpr float xmod = 0.1f;
|
||||
|
Loading…
Reference in New Issue
Block a user