diff --git a/src/nostalgia/core/userland/gfx_opengl.cpp b/src/nostalgia/core/userland/gfx_opengl.cpp index d619b0fa..7cd83d37 100644 --- a/src/nostalgia/core/userland/gfx_opengl.cpp +++ b/src/nostalgia/core/userland/gfx_opengl.cpp @@ -25,7 +25,6 @@ namespace renderer { constexpr auto TileRows = 16; constexpr auto TileColumns = 16; constexpr auto TileCount = TileRows * TileColumns; -constexpr auto BgVertexVboRowLength = 6; constexpr auto BgVertexVboLength = 16; constexpr auto BgVertexEboLength = 6; @@ -105,7 +104,7 @@ void initBackgroundBufferObjects(GLuint shader, BackgroundBufferset *bs) { auto texCoordAttr = static_cast(glGetAttribLocation(shader, "vTexCoord")); glEnableVertexAttribArray(texCoordAttr); glVertexAttribPointer(texCoordAttr, 2, GL_FLOAT, GL_FALSE, 4 * sizeof(float), - ox::bit_cast((2 * sizeof(float)))); + ox::bit_cast(2 * sizeof(float))); } void initBackgroundBufferset(GLuint shader, BackgroundBufferset *bufferset) { diff --git a/src/nostalgia/core/userland/glutils.hpp b/src/nostalgia/core/userland/glutils.hpp index d5632103..eb21aa5d 100644 --- a/src/nostalgia/core/userland/glutils.hpp +++ b/src/nostalgia/core/userland/glutils.hpp @@ -9,7 +9,7 @@ #define GL_GLEXT_PROTOTYPES 1 #ifdef OX_OS_Darwin #define GL_SILENCE_DEPRECATION -#include +#include #else #include #endif