summaryrefslogtreecommitdiffstats
path: root/src/egl/main/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/SConscript')
-rw-r--r--src/egl/main/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/SConscript b/src/egl/main/SConscript
index a331c9711ec..fad0671f38a 100644
--- a/src/egl/main/SConscript
+++ b/src/egl/main/SConscript
@@ -9,7 +9,8 @@ if env['platform'] != 'winddk':
env = env.Clone()
env.Append(CPPDEFINES = [
- '_EGL_DEFAULT_DISPLAY=\\"gdi\\"',
+ '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_WINDOWS',
+ '_EGL_DEFAULT_PLATFORM=\\"gdi\\"',
'_EGL_DRIVER_SEARCH_DIR=\\"\\"',
'_EGL_OS_WINDOWS',
'KHRONOS_DLL_EXPORTS',