diff --git a/source/openfl/display/Shader.hx b/source/openfl/display/Shader.hx index 72b017197ab..30dd45f3b30 100644 --- a/source/openfl/display/Shader.hx +++ b/source/openfl/display/Shader.hx @@ -348,7 +348,7 @@ class Shader if (compileStatus == 0) #if (android && !macro) android.Tools.showAlertDialog("Shader Compile Error!", message, null, null) - #elseif !ios + #elseif ios openfl.Lib.application.window.alert('$message', 'Shader Compile Error!') #else Log.error(message) @@ -982,4 +982,4 @@ class Shader } #else typedef Shader = flash.display.Shader; -#end \ No newline at end of file +#end