egl: Use the right extension name in #ifdef
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:34:04 +0000 (15:34 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:34:04 +0000 (15:34 -0400)
src/egl/main/eglapi.c

index 19dfd574268852c8acbd3942086357c33cf7a73f..336ec23da5a318b2006df04b0602b5d38a34181d 100644 (file)
@@ -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