diff options
Diffstat (limited to 'xorg-server/hw/xwin/glx/glwrap.c')
-rw-r--r-- | xorg-server/hw/xwin/glx/glwrap.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/xorg-server/hw/xwin/glx/glwrap.c b/xorg-server/hw/xwin/glx/glwrap.c index fdb2c4aa6..5190d36f7 100644 --- a/xorg-server/hw/xwin/glx/glwrap.c +++ b/xorg-server/hw/xwin/glx/glwrap.c @@ -115,27 +115,6 @@ glWinResolveHelper(PROC *cache, char *symbol) #define RESOLVED_PROC(proctype) proc /* - * GL dispatch table debugging - */ - -static void -warn_func(void * ctx, const char *format, ...) -{ - va_list v; - va_start(v, format); - VErrorF(format, v); - va_end(v); - ErrorF("\n"); -} - -static void -gl_dispatch_debugging(void) -{ - _glapi_set_warning_func(warn_func); - _glapi_noop_enable_warnings(TRUE); -} - -/* Include generated cdecl wrappers for stdcall gl*() functions in opengl32.dll OpenGL 1.2 and upward is treated as extensions, function address must |