From cf3efb459196e01ef8f425dd8837685fc3567c5f Mon Sep 17 00:00:00 2001 From: Jonathas Costa Date: Thu, 22 Aug 2019 18:36:27 -0400 Subject: [PATCH] Changed array type to old style in glsl. --- shaders/framebuffer/fxaa.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/framebuffer/fxaa.frag b/shaders/framebuffer/fxaa.frag index 90c7674897..a9d30c4279 100644 --- a/shaders/framebuffer/fxaa.frag +++ b/shaders/framebuffer/fxaa.frag @@ -29,7 +29,7 @@ #define ITERATIONS 12 #define SUBPIXEL_QUALITY 0.75f -const float[12] QUALITY = {1.f, 1.f, 1.f, 1.f, 1.f, 1.5f, 2.f, 2.f, 2.f, 2.f, 4.f, 8.f}; +const float[12] QUALITY = float[](1.f, 1.f, 1.f, 1.f, 1.f, 1.5f, 2.f, 2.f, 2.f, 2.f, 4.f, 8.f); // const float[24] QUALITY = {2.f, 4.f, 6.f, 8.f, 10.f, 12.f, 12.f, 12.f, 12.f, 12.f, 14.f, 18.f, // 18.f, 18.f, 18.f, 18.f, 18.f, 18.f, 18.f, 18.f, 18.f, 18.f, // 18.f, 18.f};