aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-03 14:16:57 +0000
committermarha <marha@users.sourceforge.net>2010-09-03 14:16:57 +0000
commit618c64aa88755d61b734ba8b54a325a56ac830ad (patch)
treeaf63069a8597de2b1a190d18a62ebe3ce752cd02 /xorg-server/hw/xwin
parent917506f14358fb7ceb85e1b769c98951dccc9dd9 (diff)
downloadvcxsrv-618c64aa88755d61b734ba8b54a325a56ac830ad.tar.gz
vcxsrv-618c64aa88755d61b734ba8b54a325a56ac830ad.tar.bz2
vcxsrv-618c64aa88755d61b734ba8b54a325a56ac830ad.zip
Synchronised glx with mesa
Diffstat (limited to 'xorg-server/hw/xwin')
-rw-r--r--xorg-server/hw/xwin/InitOutput.c23
1 files changed, 0 insertions, 23 deletions
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);
-}