Merge pull request #433 from FunkinCrew/hl-compiles

shader var renames for hashlink
This commit is contained in:
Eric 2024-04-04 18:23:44 -04:00 committed by GitHub
commit 93e5e59d57
5 changed files with 5 additions and 5 deletions

View file

@ -119,7 +119,7 @@
<haxelib name="flixel-text-input" /> <!-- Improved text field rendering for HaxeUI --> <haxelib name="flixel-text-input" /> <!-- Improved text field rendering for HaxeUI -->
<haxelib name="polymod" /> <!-- Modding framework --> <haxelib name="polymod" /> <!-- Modding framework -->
<haxelib name="flxanimate" /> <!-- Texture atlas rendering --> <haxelib name="flxanimate" /> <!-- Texture atlas rendering -->
<haxelib name="hxCodec" if="desktop" /> <!-- Video playback --> <haxelib name="hxCodec" if="desktop" unless="hl" /> <!-- Video playback -->
<haxelib name="json2object" /> <!-- JSON parsing --> <haxelib name="json2object" /> <!-- JSON parsing -->
<haxelib name="thx.semver" /> <!-- Version string handling --> <haxelib name="thx.semver" /> <!-- Version string handling -->

2
assets

@ -1 +1 @@
Subproject commit fe0570d4cfe20d232bad062f3140787faad1baeb Subproject commit 5027bc656c9df5ec208ab256f9494bd7da425111

View file

@ -20,6 +20,6 @@ class GaussianBlurShader extends FlxRuntimeShader
public function setAmount(value:Float):Void public function setAmount(value:Float):Void
{ {
this.amount = value; this.amount = value;
this.setFloat("amount", amount); this.setFloat("_amount", amount);
} }
} }

View file

@ -17,6 +17,6 @@ class Grayscale extends FlxRuntimeShader
public function setAmount(value:Float):Void public function setAmount(value:Float):Void
{ {
amount = value; amount = value;
this.setFloat("amount", amount); this.setFloat("_amount", amount);
} }
} }

View file

@ -20,7 +20,7 @@ class HSVShader extends FlxRuntimeShader
function set_hue(value:Float):Float function set_hue(value:Float):Float
{ {
this.setFloat('hue', value); this.setFloat('_hue', value);
this.hue = value; this.hue = value;
return this.hue; return this.hue;