From 9ea9bdf130a4f4f9669c0406dc26bf3713dee62c Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 21 Oct 2016 17:35:40 +0200 Subject: vo_opengl: context_rpi: fix stdatomic usage atomic_bool is not supported with e.g. atomic_fetch_and. Fixes #3699. Untested. --- video/out/opengl/context_rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/opengl/context_rpi.c b/video/out/opengl/context_rpi.c index 96c8199ef4..fa19a6c205 100644 --- a/video/out/opengl/context_rpi.c +++ b/video/out/opengl/context_rpi.c @@ -42,7 +42,7 @@ struct priv { EGL_DISPMANX_WINDOW_T egl_window; int x, y, w, h; double display_fps; - atomic_bool reload_display; + atomic_int reload_display; int win_params[4]; }; -- cgit v1.2.3