Fix axslcc profile check

This commit is contained in:
halx99 2023-08-21 13:45:36 +08:00
parent a7011c2bcd
commit b16b44e6aa
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ function (ax_target_compile_shaders target_name)
set(SC_PROFILE "") set(SC_PROFILE "")
if(AX_GLES_PROFILE) if(AX_GLES_PROFILE)
# version 300 es # version 300 es
if (AX_DISABLE_GLES2) if (AX_GLES_PROFILE EQUAL 300)
set(OUT_LANG "ESSL") set(OUT_LANG "ESSL")
set(SC_PROFILE "300") set(SC_PROFILE "300")
else() else()