From e620362d6c5e47c85569f4f61a8c6bb1e1320919 Mon Sep 17 00:00:00 2001 From: jakob Date: Thu, 31 Oct 2024 21:16:14 +0100 Subject: [PATCH] [port] Use SIMD code in Invert only if requested --- avs/vis_avs/e_invert.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/avs/vis_avs/e_invert.cpp b/avs/vis_avs/e_invert.cpp index a5429370..40ecd44f 100644 --- a/avs/vis_avs/e_invert.cpp +++ b/avs/vis_avs/e_invert.cpp @@ -66,8 +66,11 @@ int E_Invert::render(char[2][2][576], if (!enabled) { return 0; } - // render_c(framebuffer, w * h); +#ifdef SIMD_MODE_X86_SSE render_simd(framebuffer, w * h); +#else + render_c(framebuffer, w * h); +#endif return 0; }