From 618c64aa88755d61b734ba8b54a325a56ac830ad Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 3 Sep 2010 14:16:57 +0000 Subject: Synchronised glx with mesa --- xorg-server/hw/xwin/InitOutput.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'xorg-server/hw') diff --git a/xorg-server/hw/xwin/InitOutput.c b/xorg-server/hw/xwin/InitOutput.c index 0cd325c41..da4e03e98 100644 --- a/xorg-server/hw/xwin/InitOutput.c +++ b/xorg-server/hw/xwin/InitOutput.c @@ -132,9 +132,6 @@ const char * winGetBaseDir(void); #endif -static -void glx_debugging(void); - /* * For the depth 24 pixmap we default to 32 bits per pixel, but * we change this pixmap format later if we detect that the display @@ -1061,7 +1058,6 @@ InitOutput (ScreenInfo *screenInfo, int argc, char *argv[]) */ setlocale (LC_ALL, ""); - glx_debugging(); } #endif @@ -1142,22 +1138,3 @@ winCheckDisplayNumber (void) return TRUE; } - -/* GLX debugging helpers */ -#include <../glx/glapi.h> - -static -void warn_func(void * p1, const char *format, ...) { - va_list v; - va_start(v, format); - vfprintf(stderr, format, v); - va_end(v); - fprintf(stderr,"\n"); -} - -static -void glx_debugging(void) -{ - _glapi_set_warning_func(warn_func); - _glapi_noop_enable_warnings(TRUE); -} -- cgit v1.2.3