Fixed spritebatch flickering on Dolphin

This commit is contained in:
YourWishes committed 2026-03-29 16:10:39 -05:00
1 parent 85ff95296b
commit 2b2ddb3cf2
7 files changed
+36 -14

No files matched your search

+4 -2
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());