Fix flicker after mpv plugin use

This commit is contained in:
jojo61 2024-02-03 12:09:17 +01:00
parent 47b461ab46
commit c679d812d1
2 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,7 @@ extern void ToggleLUT();
/// vdr-plugin version number. /// vdr-plugin version number.
/// Makefile extracts the version number for generating the file name /// Makefile extracts the version number for generating the file name
/// for the distribution archive. /// for the distribution archive.
static const char *const VERSION = "3.17" static const char *const VERSION = "3.18"
#ifdef GIT_REV #ifdef GIT_REV
"-GIT" GIT_REV "-GIT" GIT_REV
#endif #endif

View File

@ -1990,6 +1990,9 @@ make_egl() {
Fatal(_("Could not make context current!\n")); Fatal(_("Could not make context current!\n"));
} }
EglEnabled = 1; EglEnabled = 1;
#ifdef USE_DRM
drm_swap_buffers();
#endif
} }
#endif #endif