Mesa (master): egl: Use the right extension name in #ifdef

Kristian Høgsberg krh at kemper.freedesktop.org
Mon Apr 25 12:35:49 PDT 2011


Module: Mesa
Branch: master
Commit: f274dfaca4b53bae92dfe6a72c1890c381d84746
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f274dfaca4b53bae92dfe6a72c1890c381d84746

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon Apr 25 15:34:04 2011 -0400

egl: Use the right extension name in #ifdef

---

 src/egl/main/eglapi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 19dfd57..336ec23 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -914,7 +914,7 @@ eglGetProcAddress(const char *procname)
       { "eglCreateDRMImageMESA", (_EGLProc) eglCreateDRMImageMESA },
       { "eglExportDRMImageMESA", (_EGLProc) eglExportDRMImageMESA },
 #endif
-#ifdef EGL_WL_bind_display
+#ifdef EGL_WL_bind_wayland_display
       { "eglBindWaylandDisplayWL", (_EGLProc) eglBindWaylandDisplayWL },
       { "eglUnbindWaylandDisplayWL", (_EGLProc) eglUnbindWaylandDisplayWL },
 #endif



More information about the mesa-commit mailing list