mirror of
https://github.com/minetest/irrlicht.git
synced 2025-03-06 20:49:24 +01:00
Hide OpenGL3 behind SDL2 (it won’t build otherwise anyway)
This commit is contained in:
parent
0b9ee5884f
commit
6a5fceb8fd
1 changed files with 5 additions and 1 deletions
|
@ -148,7 +148,11 @@ endif()
|
|||
|
||||
# OpenGL
|
||||
|
||||
option(ENABLE_OPENGL3 "Enable OpenGL 3+" FALSE)
|
||||
if(USE_SDL2)
|
||||
option(ENABLE_OPENGL3 "Enable OpenGL 3+" FALSE)
|
||||
else()
|
||||
set(ENABLE_OPENGL3 FALSE)
|
||||
endif()
|
||||
|
||||
if(ANDROID OR EMSCRIPTEN)
|
||||
set(ENABLE_OPENGL FALSE)
|
||||
|
|
Loading…
Add table
Reference in a new issue