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-861f7616d084master
parent
d0a0b225ef
commit
9b81337df9
|
@ -594,11 +594,7 @@ void iV_DrawTextRotated(const char* string, float XPos, float YPos, float rotati
|
||||||
{
|
{
|
||||||
GLint matrix_mode = 0;
|
GLint matrix_mode = 0;
|
||||||
|
|
||||||
#ifdef WZ_OS_MAC
|
|
||||||
pie_SetTexturePage(0);
|
pie_SetTexturePage(0);
|
||||||
#else
|
|
||||||
pie_SetTexturePage(-1);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
glGetIntegerv(GL_MATRIX_MODE, &matrix_mode);
|
glGetIntegerv(GL_MATRIX_MODE, &matrix_mode);
|
||||||
glMatrixMode(GL_TEXTURE);
|
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, ...)
|
void iV_DrawTextF(float x, float y, const char* format, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start(ap, format);
|
va_start(ap, format);
|
||||||
iV_DrawTextFv(x, y, format, ap);
|
iV_DrawTextFv(x, y, format, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
Loading…
Reference in New Issue