summaryrefslogtreecommitdiff
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-31 18:30:38 +0100
committerGitHub <noreply@github.com>2021-10-31 18:30:38 +0100
commit16dc607f8ad2055c8dec543bcd427fe74e5d6059 (patch)
treec99e99c1fd63fdb3d60b0c6d6ec632647e65619a /platform/windows/detect.py
parentd6f972fad45d28222b1437a047241dd74f0d5b90 (diff)
parent8a10bb7d0dd0cc03353bb751af25a0eca1357c9d (diff)
Merge pull request #54307 from Calinou/add-opengl-renderer-squash
Add OpenGL renderer (squashed)
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 6752885f37..22fbbeb74f 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -279,7 +279,7 @@ def configure_msvc(env, manual_msvc_config):
if not env["use_volk"]:
LIBS += ["vulkan"]
- # env.AppendUnique(CPPDEFINES = ['OPENGL_ENABLED'])
+ env.AppendUnique(CPPDEFINES=["GLES3_ENABLED"])
LIBS += ["opengl32"]
env.Append(LINKFLAGS=[p + env["LIBSUFFIX"] for p in LIBS])
@@ -453,8 +453,7 @@ def configure_mingw(env):
if not env["use_volk"]:
env.Append(LIBS=["vulkan"])
- ## TODO !!! Re-enable when OpenGLES Rendering Device is implemented !!!
- # env.Append(CPPDEFINES=['OPENGL_ENABLED'])
+ env.Append(CPPDEFINES=["GLES3_ENABLED"])
env.Append(LIBS=["opengl32"])
env.Append(CPPDEFINES=["MINGW_ENABLED", ("MINGW_HAS_SECURE_API", 1)])