From 9b81337df9532eefc04bc4622722cf406eb59eb5 Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Mon, 25 Feb 2008 21:58:35 +0000 Subject: [PATCH] Why did QuesoGLC/fontrendering only work on Mac OS X? Because the texture was set conditionaly for it only. This applies patch #961 correctly and thus closes it. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3867 4a71c877-e1ca-e34f-864e-861f7616d084 --- lib/ivis_opengl/textdraw.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/ivis_opengl/textdraw.c b/lib/ivis_opengl/textdraw.c index 2ecbbfdc2..b3f66ff43 100644 --- a/lib/ivis_opengl/textdraw.c +++ b/lib/ivis_opengl/textdraw.c @@ -594,11 +594,7 @@ void iV_DrawTextRotated(const char* string, float XPos, float YPos, float rotati { GLint matrix_mode = 0; -#ifdef WZ_OS_MAC pie_SetTexturePage(0); -#else - pie_SetTexturePage(-1); -#endif glGetIntegerv(GL_MATRIX_MODE, &matrix_mode); glMatrixMode(GL_TEXTURE); @@ -659,7 +655,7 @@ void iV_DrawTextRotatedF(float x, float y, float rotation, const char* format, . void iV_DrawTextF(float x, float y, const char* format, ...) { va_list ap; - + va_start(ap, format); iV_DrawTextFv(x, y, format, ap); va_end(ap);