mirror of https://github.com/axmolengine/axmol.git
Using essl profile for GLES2.0
This commit is contained in:
parent
b16b44e6aa
commit
2558c33473
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue