openbsd-ports/games/bzflag/patches/patch-src_3D_FontManager_cxx
sthen 192f13f1bf Update bzflag to 2.0.12; from Brad with some tweaks from ajacoutot
and myself. Amongst other things, this fixes some 64-bit issues.
ok ajacoutot@
2009-09-02 08:52:22 +00:00

13 lines
454 B
Plaintext

$OpenBSD: patch-src_3D_FontManager_cxx,v 1.3 2009/09/02 08:52:22 sthen Exp $
--- src/3D/FontManager.cxx.orig Sat Apr 12 05:28:51 2008
+++ src/3D/FontManager.cxx Thu Apr 9 01:04:26 2009
@@ -272,6 +272,8 @@ void FontManager::drawString(float x, float y, float z
}
+ OpenGLGState::resetState(); /* full reset needed for bitmap renderer? */
+
/*
* Colorize text based on ANSI codes embedded in it
* Break the text every time an ANSI code