From ffc2b584ff9771f8d83321a00e251824c1ba0726 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Wed, 22 Aug 2007 13:18:09 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1273 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/rendertext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/src/rendertext.cpp b/source/src/rendertext.cpp index 2fdc232c..aafa6855 100644 --- a/source/src/rendertext.cpp +++ b/source/src/rendertext.cpp @@ -162,12 +162,13 @@ void draw_text(const char *str, int left, int top) glBlendFunc(GL_ONE, GL_ONE); glBindTexture(GL_TEXTURE_2D, curfont->tex->id); - glColor3ub(255, 255, 255); static float colorstack[8][4]; int colorpos = 0, x = left, y = top, col = 0, colx = 0; glBegin(GL_QUADS); + // ATI bug -- initial color must be set after glBegin + glColor3ub(255, 255, 255); for(int i = 0; str[i]; i++) { int c = str[i];