openbsd-ports/games/bzflag/patches/patch-src_bzflag_playing_cxx
2010-07-25 17:14:35 +00:00

22 lines
772 B
Plaintext

$OpenBSD: patch-src_bzflag_playing_cxx,v 1.3 2010/07/25 17:14:35 jolan Exp $
--- src/bzflag/playing.cxx.orig Wed Mar 31 23:21:08 2010
+++ src/bzflag/playing.cxx Fri Apr 9 21:23:21 2010
@@ -6648,11 +6648,12 @@ static void defaultErrorCallback(const char* msg)
static void startupErrorCallback(const char* msg)
{
- controlPanel->addMessage(msg);
- glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
- glClear(GL_COLOR_BUFFER_BIT);
- controlPanel->render(*sceneRenderer);
- mainWindow->getWindow()->swapBuffers();
+// controlPanel->addMessage(msg);
+// glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
+// glClear(GL_COLOR_BUFFER_BIT);
+// controlPanel->render(*sceneRenderer);
+// mainWindow->getWindow()->swapBuffers();
+ std::cerr << msg << std::endl << std::flush;
}