Avoid compilation errors for GLES
This commit is contained in:
parent
f034b3c22b
commit
77161cc583
@ -78,6 +78,7 @@ endif()
|
|||||||
|
|
||||||
if(USE_GLES2)
|
if(USE_GLES2)
|
||||||
add_definitions(-DUSE_GLES2)
|
add_definitions(-DUSE_GLES2)
|
||||||
|
add_definitions(-D_IRR_COMPILE_WITH_OGLES2_ -DNO_IRR_COMPILE_WITH_OPENGL_)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SERVER_ONLY)
|
if(SERVER_ONLY)
|
||||||
|
Loading…
Reference in New Issue
Block a user