From d5515d055290ba3eb96c5489d3971919dd435584 Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Sat, 17 Dec 2011 15:33:34 +0400 Subject: [PATCH] glapi: fix _glapi_get_proc_addresss --- src/mapi/glapi/glapi_getproc.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/mapi/glapi/glapi_getproc.c b/src/mapi/glapi/glapi_getproc.c index 0a6ff77..0efa496 100644 --- a/src/mapi/glapi/glapi_getproc.c +++ b/src/mapi/glapi/glapi_getproc.c @@ -531,12 +531,7 @@ _glapi_get_proc_address(const char *funcName) if (func) return func; - /* generate entrypoint, dispatch offset must be filled in by the driver */ - entry = add_function_name(funcName); - if (entry == NULL) - return NULL; - - return entry->dispatch_stub; + return NULL; } -- 1.7.7.4