Using essl profile for GLES2.0

This commit is contained in:
halx99 2023-08-21 21:42:22 +08:00
parent b16b44e6aa
commit 2558c33473
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,8 @@ function (ax_target_compile_shaders target_name)
set(OUT_LANG "ESSL")
set(SC_PROFILE "300")
else()
set(OUT_LANG "GLSL")
# GLSL2 use glsl100 syntax es profile alka essl100
set(OUT_LANG "ESSL")
set(SC_PROFILE "100")
set(SC_DEFINES "GLES2")
endif()