Merge pull request #1810 from degasus/dirty_flags

gl_rasterizer: Fixup for #1723.
merge-requests/60/head
bunnei 2018-11-27 10:46:49 +07:00 committed by GitHub
commit 5bea164a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -668,7 +668,7 @@ void RasterizerOpenGL::DrawArrays() {
bool invalidate = buffer_cache.Map(buffer_size);
if (invalidate) {
// As all cached buffers are invalidated, we need to recheck their state.
gpu.dirty_flags.vertex_attrib_format = 0xFFFFFFFF;
gpu.dirty_flags.vertex_array = 0xFFFFFFFF;
}
SetupVertexFormat();