aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorreduz2016-12-21 02:29:58 -0300
committerreduz2016-12-21 02:29:58 -0300
commit72b844c34999d8615450798ed1f27ef24a72d8ce (patch)
treecc51d63b1725459d0da37fd807301d8e3540a395 /platform/windows/detect.py
parent075fde7f26d6c3b02df5108065d1a9f979437bb8 (diff)
downloadgodot-72b844c34999d8615450798ed1f27ef24a72d8ce.tar.gz
godot-72b844c34999d8615450798ed1f27ef24a72d8ce.tar.zst
godot-72b844c34999d8615450798ed1f27ef24a72d8ce.zip
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 12ea5a93e..286e6cb78 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -244,7 +244,7 @@ def configure(env):
env.Append(CCFLAGS=['/DWIN32'])
env.Append(CCFLAGS=['/DTYPED_METHOD_BIND'])
- env.Append(CCFLAGS=['/DGLES2_ENABLED'])
+ env.Append(CCFLAGS=['/DOPENGL_ENABLED'])
LIBS=['winmm','opengl32','dsound','kernel32','ole32','oleaut32','user32','gdi32', 'IPHLPAPI','Shlwapi', 'wsock32','Ws2_32', 'shell32','advapi32','dinput8','dxguid']
env.Append(LINKFLAGS=[p+env["LIBSUFFIX"] for p in LIBS])
@@ -372,7 +372,7 @@ def configure(env):
env.Append(CCFLAGS=['-DWINDOWS_ENABLED','-mwindows'])
env.Append(CPPFLAGS=['-DRTAUDIO_ENABLED'])
- env.Append(CCFLAGS=['-DGLES2_ENABLED'])
+ env.Append(CCFLAGS=['-DOPENGL_ENABLED'])
env.Append(LIBS=['mingw32','opengl32', 'dsound', 'ole32', 'd3d9','winmm','gdi32','iphlpapi','shlwapi','wsock32','ws2_32','kernel32', 'oleaut32', 'dinput8', 'dxguid'])
# if (env["bits"]=="32"):