From ef93dba00d034564abc99befc64a5c2aab31d110 Mon Sep 17 00:00:00 2001 From: Lily Date: Thu, 19 Sep 2024 15:31:33 +0300 Subject: [PATCH] Update Shader.hx --- source/openfl/display/Shader.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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