summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-11-29 17:37:54 -0500
committerAdam Jackson <ajax@redhat.com>2010-11-29 17:37:54 -0500
commit1ccef926be46dce3b6b5c76e812e2fae4e205ce7 (patch)
treee317f277e47d3b624271f26a514a8db47085d4e5 /src/mapi
parente5aa69f6a6779d1e0fb3d413ad7007b0fb90b176 (diff)
drivers/x11: unifdef XFree86Server
This code was for the old GLcore build of the software rasteriser. The X server switched to a DRI driver for software indirect GLX long ago. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/glapi_getproc.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mapi/glapi/glapi_getproc.c b/src/mapi/glapi/glapi_getproc.c
index 47a01176d5..0a6ff7795f 100644
--- a/src/mapi/glapi/glapi_getproc.c
+++ b/src/mapi/glapi/glapi_getproc.c
@@ -42,7 +42,7 @@
*/
-#if !defined(DISPATCH_FUNCTION_SIZE) && !defined(XFree86Server)
+#if !defined(DISPATCH_FUNCTION_SIZE)
# define NEED_FUNCTION_POINTER
#endif
#include "glapi/glprocs.h"
@@ -88,7 +88,6 @@ get_static_proc_offset(const char *funcName)
}
-#if !defined(XFree86Server)
/**
* Return dispatch function address for the named static (built-in) function.
@@ -113,16 +112,6 @@ get_static_proc_address(const char *funcName)
#endif
}
-#else
-
-static _glapi_proc
-get_static_proc_address(const char *funcName)
-{
- (void) funcName;
- return NULL;
-}
-
-#endif /* !defined(XFree86Server) */
/**