Use OpenGL ES by default for RISC-V
This commit is contained in:
parent
364e380dfd
commit
78f871d7f2
@ -89,7 +89,8 @@ endif()
|
||||
|
||||
if((UNIX AND NOT APPLE) AND NOT SERVER_ONLY)
|
||||
if((${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") OR
|
||||
(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64"))
|
||||
(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") OR
|
||||
(${CMAKE_SYSTEM_PROCESSOR} MATCHES "riscv64"))
|
||||
option(USE_GLES2 "Use OpenGL ES2 renderer" ON)
|
||||
else()
|
||||
option(USE_GLES2 "Use OpenGL ES2 renderer" OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user