* in iV_DrawTextRotated() select the model view matrix and don't depend on that one being selected already
* Also push and pop the model view matrix git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3737 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
637edb1f0d
commit
24ba730bdb
|
@ -608,7 +608,8 @@ void iV_DrawTextRotated(const char* string, float XPos, float YPos, float rotati
|
|||
glMatrixMode(GL_TEXTURE);
|
||||
glPushMatrix();
|
||||
glLoadIdentity();
|
||||
glMatrixMode(matrix_mode);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glPushMatrix();
|
||||
|
||||
if (rotation != 0.f)
|
||||
{
|
||||
|
@ -626,6 +627,7 @@ void iV_DrawTextRotated(const char* string, float XPos, float YPos, float rotati
|
|||
glcRenderString(string);
|
||||
glFrontFace(GL_CCW);
|
||||
|
||||
glPopMatrix();
|
||||
glMatrixMode(GL_TEXTURE);
|
||||
glPopMatrix();
|
||||
glMatrixMode(matrix_mode);
|
||||
|
|
Loading…
Reference in New Issue