1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

vo_opengl: context_rpi: fix stdatomic usage

atomic_bool is not supported with e.g. atomic_fetch_and.

Fixes #3699. Untested.
This commit is contained in:
wm4 2016-10-21 17:35:40 +02:00
parent 202f695398
commit 9ea9bdf130

View File

@ -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];
};