diff --git a/patch/patches/osr_win_remove_keyed_mutex_2575.patch b/patch/patches/osr_win_remove_keyed_mutex_2575.patch index c7242135e..95c6f8bd3 100644 --- a/patch/patches/osr_win_remove_keyed_mutex_2575.patch +++ b/patch/patches/osr_win_remove_keyed_mutex_2575.patch @@ -46,7 +46,7 @@ index a7ac0f10f11e5..bb1d7dc6e9168 100644 + // once the GMB is returned from CopyRequest. So there will be no race + // condition on that texture. We can request a GMB without a keyed mutex to + // accelerate and probably prevent some driver deadlock. -+ if (format_ == PIXEL_FORMAT_ARGB) { ++ if (format_ == PIXEL_FORMAT_ARGB || format_ == PIXEL_FORMAT_ABGR) { + // This value is 'borrowed', SCANOUT_VEA_CPU_READ is probably invalid + // cause there's no real SCANOUT on Windows. We simply use this enum as a + // flag to disable mutex in the GMBFactoryDXGI because this enum is also