summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 5d94a62b2f..d1edfa02fb 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -2476,6 +2476,7 @@ static void pass_colormanage(struct gl_video *p, struct mp_colorspace src, bool
gl->BindBuffer(GL_SHADER_STORAGE_BUFFER, 0);
}
+ gl->MemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
gl_sc_ssbo(p->sc, "PeakDetect", p->hdr_peak_ssbo,
"uint sig_peak_raw;"
"uint index;"