mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Add the option to turn on only the EGL interface to use desktop OpenGL with it.
This commit is contained in:
@ -3,7 +3,8 @@
|
|||||||
#
|
#
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
option(USE_GLES "Enables GLES, disables OGL" OFF)
|
option(USE_GLES "Enables GLES And EGL, disables OGL" OFF)
|
||||||
|
option(USE_EGL "Enables EGL OpenGL Interface" OFF)
|
||||||
option(DISABLE_WX "Disable wxWidgets (use CLI interface)" OFF)
|
option(DISABLE_WX "Disable wxWidgets (use CLI interface)" OFF)
|
||||||
|
|
||||||
option(FASTLOG "Enable all logs" OFF)
|
option(FASTLOG "Enable all logs" OFF)
|
||||||
@ -250,6 +251,11 @@ if(USE_GLES)
|
|||||||
add_definitions(-DUSE_EGL)
|
add_definitions(-DUSE_EGL)
|
||||||
set(USE_EGL True)
|
set(USE_EGL True)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(USE_EGL)
|
||||||
|
message("EGL OpenGL interface enabled")
|
||||||
|
add_definitions(-DUSE_EGL)
|
||||||
|
endif()
|
||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
Reference in New Issue
Block a user