From 70ee4b05aa4a78809552e6bc6c3ff7cfe6c012af Mon Sep 17 00:00:00 2001 From: numzero Date: Wed, 5 Apr 2023 22:52:43 +0300 Subject: [PATCH] Indicate chosen OpenGL ES 2 driver during configuration --- source/Irrlicht/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/Irrlicht/CMakeLists.txt b/source/Irrlicht/CMakeLists.txt index 6d87069..4d7141e 100644 --- a/source/Irrlicht/CMakeLists.txt +++ b/source/Irrlicht/CMakeLists.txt @@ -230,9 +230,15 @@ endif() message(STATUS "Device: ${DEVICE}") message(STATUS "OpenGL: ${ENABLE_OPENGL}") -message(STATUS "OpenGL 3: ${ENABLE_OPENGL3}") +message(STATUS "OpenGL 3: ${USE_SDLGL3}") message(STATUS "OpenGL ES: ${ENABLE_GLES1}") -message(STATUS "OpenGL ES 2: ${ENABLE_GLES2}") +if (USE_SDLGLES2) + message(STATUS "OpenGL ES 2: ON (unified)") +elseif (ENABLE_GLES2) + message(STATUS "OpenGL ES 2: ON (legacy)") +else() + message(STATUS "OpenGL ES 2: OFF") +endif() message(STATUS "WebGL: ${ENABLE_WEBGL1}") # Required libs