egl: call st_get_proc_address()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Jun 2008 20:28:07 +0000 (14:28 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:22:01 +0000 (09:22 -0600)
src/gallium/winsys/egl_xlib/egl_xlib.c

index 7bef46d560ffb113fbdb796675742d03a18f3487..194bf2842ab0725711b5733a60e69a2ac116c1e6 100644 (file)
@@ -210,11 +210,7 @@ xlib_eglTerminate(_EGLDriver *drv, EGLDisplay dpy)
 static _EGLProc
 xlib_eglGetProcAddress(const char *procname)
 {
-   /* XXX for each supported API, evaluate GetProcAddress(name) */
-   /*
-   return _glapi_get_proc_address(procname);
-   */
-   return NULL;
+   return (_EGLProc) st_get_proc_address(procname);
 }