yuzu
yuzu copied to clipboard
Align index buffe size when vertex_buffer_unified_memory enable
Close #7171
Before:
After:
Before:
After:
This should fix more other games, more tests are welcome
Fixes rendering in Werewolf Princess
Finish them all off?, static_cast<GLsizeiptr>(Common::AlignUp(size, 4)), GL_RED, GL_UNSIGNED_INT, &value);
Est
Lgtm
Is the game depending on an out-of-bounds read of the index buffer in this case? The other buffer bindings don't adjust the size in this way