Skip to content

Commit

Permalink
Add ESSL define
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Nov 15, 2024
1 parent 9cdb1ca commit 66a8056
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions armorcore/tools/amake/ashader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit 66a8056

Please sign in to comment.