From 26d2feb4d819e71b1d34ada05a808f73d5412d91 Mon Sep 17 00:00:00 2001 From: Quantum Date: Tue, 31 Aug 2021 19:04:26 -0400 Subject: [PATCH] [client] egl: remove warning disabling in ffx.c --- client/renderers/EGL/ffx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/renderers/EGL/ffx.c b/client/renderers/EGL/ffx.c index 6f0301af..62643bcb 100644 --- a/client/renderers/EGL/ffx.c +++ b/client/renderers/EGL/ffx.c @@ -25,12 +25,10 @@ #define A_CPU #define A_RESTRICT -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-function" +#define A_STATIC inline static #include "shader/ffx_a.h" #include "shader/ffx_cas.h" #include "shader/ffx_fsr1.h" -#pragma GCC diagnostic pop void ffxCasConst(uint32_t consts[8], float sharpness, float inputX, float inputY, float outputX, float outputY)