[nostalgia/core/userland] Fix Mac build

This commit is contained in:
2021-03-15 22:02:24 -05:00
parent 87b2963687
commit be31ad48a1
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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<GLuint>(glGetAttribLocation(shader, "vTexCoord"));
glEnableVertexAttribArray(texCoordAttr);
glVertexAttribPointer(texCoordAttr, 2, GL_FLOAT, GL_FALSE, 4 * sizeof(float),
ox::bit_cast<void*>((2 * sizeof(float))));
ox::bit_cast<void*>(2 * sizeof(float)));
}
void initBackgroundBufferset(GLuint shader, BackgroundBufferset *bufferset) {