openbsd-ports/games/bzflag/patches/patch-src_3D_FontManager_cxx
pvalchev 0420b7b743 Update to bzflag-2.0.8 and unbreak this port by switching it to
use its own zlib (breaks with ours, someone should check)
from Deanna Phillips <deanna@sdf.lonestar.org>
2006-09-22 03:42:56 +00:00

13 lines
443 B
Plaintext

$OpenBSD: patch-src_3D_FontManager_cxx,v 1.2 2006/09/22 03:42:57 pvalchev Exp $
--- src/3D/FontManager.cxx.orig Tue Jan 3 19:50:35 2006
+++ src/3D/FontManager.cxx Sun Aug 6 08:00:32 2006
@@ -271,6 +271,8 @@ void FontManager::drawString(float x, fl
}
+ 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