Fixed spritebatch flickering on Dolphin

This commit is contained in:
2026-03-29 16:10:39 -05:00
parent 85ff95296b
commit 2b2ddb3cf2
7 changed files with 36 additions and 14 deletions

View File

@@ -113,8 +113,10 @@ errorret_t meshFlushGL(
errorChain(errorGLCheck());
glBufferData(
GL_ARRAY_BUFFER,
vertCount * sizeof(meshvertex_t),
&mesh->vertices[vertOffset],
mesh->vertexCount * sizeof(meshvertex_t),
mesh->vertices,
// vertCount * sizeof(meshvertex_t),
// &mesh->vertices[vertOffset],
GL_DYNAMIC_DRAW
);
errorChain(errorGLCheck());