diff options
author | wm4 <wm4@nowhere> | 2016-10-21 17:35:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-21 17:35:48 +0200 |
commit | 9ea9bdf130a4f4f9669c0406dc26bf3713dee62c (patch) | |
tree | 69e0ed1234a7d95959d758f8d2da5a0155f3abd8 /video/out | |
parent | 202f6953980a76e534a6e99136305407cb66e200 (diff) | |
download | mpv-9ea9bdf130a4f4f9669c0406dc26bf3713dee62c.tar.bz2 mpv-9ea9bdf130a4f4f9669c0406dc26bf3713dee62c.tar.xz |
vo_opengl: context_rpi: fix stdatomic usage
atomic_bool is not supported with e.g. atomic_fetch_and.
Fixes #3699. Untested.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/context_rpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; }; |