Skip to content

Commit

Permalink
Fixed FlxRuntimeShader on the latest flixel commit. (#414)
Browse files Browse the repository at this point in the history
* Fixed `FlxRuntimeShader` on latest flixel.

* Update flixel/addons/display/FlxRuntimeShader.hx

Co-authored-by: George Kurelic <[email protected]>

* A bit of formatting

* Update FlxRuntimeShader.hx

* This should fix the compile now

* fix flash

---------

Co-authored-by: George Kurelic <[email protected]>
  • Loading branch information
MAJigsaw77 and Geokureli committed Dec 20, 2023
1 parent 9e0ac43 commit aad9c35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flixel/addons/display/FlxRuntimeShader.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package flixel.addons.display;

#if (FLX_DRAW_QUADS && !flash)
#if (nme || flash)
#if FLX_NO_COVERAGE_TEST
#error "FlxRuntimeShader isn't available with nme or flash."
#end
#else
import flixel.graphics.tile.FlxGraphicsShader;
#if lime
import lime.utils.Float32Array;
Expand Down

0 comments on commit aad9c35

Please sign in to comment.