Merge branch 'gl_texture_fetch_barrier_bit' into main

This commit is contained in:
Martin Fouilleul 2023-08-09 10:56:18 +02:00
commit eb9db393ba
1 changed files with 2 additions and 0 deletions

View File

@ -1286,6 +1286,8 @@ void mg_gl_render_batch(mg_gl_canvas_backend* backend,
glBindBuffer(GL_DISPATCH_INDIRECT_BUFFER, backend->rasterDispatchBuffer);
glDispatchComputeIndirect(0);
glMemoryBarrier(GL_TEXTURE_FETCH_BARRIER_BIT);
if(!err)
{
err = glGetError();