Skip to content

Commit

Permalink
Enable GLSL 3.00 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteMasterEric committed Dec 2, 2022
1 parent fee8af9 commit c72b219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flixel/graphics/tile/FlxGraphicsShader.hx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class FlxGraphicsShader extends GraphicsShader
openfl_ColorOffsetv = colorOffset / 255.0;
openfl_ColorMultiplierv = colorMultiplier;
}
}")
}", true)
@:glFragmentHeader("
uniform bool hasTransform;
uniform bool hasColorTransform;
Expand Down Expand Up @@ -63,7 +63,7 @@ class FlxGraphicsShader extends GraphicsShader
}
return vec4(0.0, 0.0, 0.0, 0.0);
}
")
", true)
@:glFragmentSource("
#pragma header
Expand Down

0 comments on commit c72b219

Please sign in to comment.