diff --git a/armorcore/tools/amake/ashader.c b/armorcore/tools/amake/ashader.c index c6c1cd191..057551e07 100644 --- a/armorcore/tools/amake/ashader.c +++ b/armorcore/tools/amake/ashader.c @@ -417,6 +417,9 @@ static void write_header(char *shader_lang) { } else { strcpy(defines[defines_count++], "GLSL\n"); + if (string_equals(shader_lang, "essl")) { + strcpy(defines[defines_count++], "ESSL\n"); + } } } else if (string_equals(shader_lang, "hlsl")) {