]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/main.cpp
fix OpenGL erorr bug on XP software renderer; use svn:ignore
[xonotic/netradiant.git] / radiant / main.cpp
index a1e39bad6833d61b74e83b43d745e3d612fb4655..ad3d4314b9217ad3a190968bad7f065950422603 100644 (file)
@@ -181,8 +181,13 @@ void error_redirect (const gchar *domain, GLogLevelFlags log_level, const gchar
   else
     strcat (buf, "\n");
 
-  printf ("%s\n", buf);
+  // spam it...
+  globalErrorStream() << buf << "\n";
 
+  // FIXME why are warnings is_fatal?
+#ifndef _DEBUG
+  if(is_fatal)
+#endif
   ERROR_MESSAGE("GTK+ error: " << buf);
 }