mirror of https://github.com/mpv-player/mpv
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:
parent
202f695398
commit
9ea9bdf130
|
@ -42,7 +42,7 @@ struct priv {
|
||||||
EGL_DISPMANX_WINDOW_T egl_window;
|
EGL_DISPMANX_WINDOW_T egl_window;
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
double display_fps;
|
double display_fps;
|
||||||
atomic_bool reload_display;
|
atomic_int reload_display;
|
||||||
int win_params[4];
|
int win_params[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue