From c72b21936bff05b3a9e12ac8fbf12c37f9259254 Mon Sep 17 00:00:00 2001 From: Eric Myllyoja Date: Fri, 2 Dec 2022 12:15:12 -0500 Subject: [PATCH] Enable GLSL 3.00 migration --- flixel/graphics/tile/FlxGraphicsShader.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flixel/graphics/tile/FlxGraphicsShader.hx b/flixel/graphics/tile/FlxGraphicsShader.hx index 02f0a9f157..2151b9c7c1 100644 --- a/flixel/graphics/tile/FlxGraphicsShader.hx +++ b/flixel/graphics/tile/FlxGraphicsShader.hx @@ -24,7 +24,7 @@ class FlxGraphicsShader extends GraphicsShader openfl_ColorOffsetv = colorOffset / 255.0; openfl_ColorMultiplierv = colorMultiplier; } - }") + }", true) @:glFragmentHeader(" uniform bool hasTransform; uniform bool hasColorTransform; @@ -63,7 +63,7 @@ class FlxGraphicsShader extends GraphicsShader } return vec4(0.0, 0.0, 0.0, 0.0); } - ") + ", true) @:glFragmentSource(" #pragma header