From ad13928c7343b1eadee253a79b5d66e45f2694c5 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 7 Nov 2023 21:52:10 +1100 Subject: [PATCH] [client] egl: fix bgr filter re-init if DMA mode changes --- client/renderers/EGL/filter_bgr_bgra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/renderers/EGL/filter_bgr_bgra.c b/client/renderers/EGL/filter_bgr_bgra.c index 8acaadc8..a729be5d 100644 --- a/client/renderers/EGL/filter_bgr_bgra.c +++ b/client/renderers/EGL/filter_bgr_bgra.c @@ -130,7 +130,8 @@ static bool egl_filterBGRtoBGRASetup(EGL_Filter * filter, this->uOutputSize.location = egl_shaderGetUniform(this->shader, "outputSize"); - this->useDMA = useDMA; + this->useDMA = useDMA; + this->prepared = false; } if (this->prepared &&