diff --git a/src/nostalgia/modules/core/src/opengl/gfx.cpp b/src/nostalgia/modules/core/src/opengl/gfx.cpp index baadfef4..0357237d 100644 --- a/src/nostalgia/modules/core/src/opengl/gfx.cpp +++ b/src/nostalgia/modules/core/src/opengl/gfx.cpp @@ -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 vbo, - ox::Span ebo) noexcept { + uint_t const textureRow, + uint_t const flipX, + uint_t const priority, + ox::Span const vbo, + ox::Span 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 vbo, - ox::Span ebo) noexcept { + float const textureTileIdx, + float const priority, + float const palOffset, + bool const flipX, + bool const flipY, + ox::Span const vbo, + ox::Span 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;