From dabeb6807346e8a3bdcb4e0ade53d7a94fd9260c Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Mon, 6 Nov 2006 20:36:10 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@510 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/renderextras.cpp | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/source/src/renderextras.cpp b/source/src/renderextras.cpp index 1c0c5863..f88a6903 100644 --- a/source/src/renderextras.cpp +++ b/source/src/renderextras.cpp @@ -680,23 +680,22 @@ void loadingscreen() glDisable(GL_DEPTH_TEST); glEnable(GL_TEXTURE_2D); - glDisable(GL_BLEND); glColor3f(1, 1, 1); glBindTexture(GL_TEXTURE_2D, 8); - glBegin(GL_QUADS); - glTexCoord2f(0, 0); glVertex2i(0, 0); - glTexCoord2f(1, 0); glVertex2i(VIRTW, 0); - glTexCoord2f(1, 1); glVertex2i(VIRTW, VIRTH); - glTexCoord2f(0, 1); glVertex2i(0, VIRTH); - - glEnd(); - - SDL_GL_SwapBuffers(); - - glDisable(GL_TEXTURE_2D); - glDisable(GL_BLEND); + loopi(2) + { + glBegin(GL_QUADS); + glTexCoord2i(0, 0); glVertex2i(0, 0); + glTexCoord2i(1, 0); glVertex2i(VIRTW, 0); + glTexCoord2i(1, 1); glVertex2i(VIRTW, VIRTH); + glTexCoord2i(0, 1); glVertex2i(0, VIRTH); + glEnd(); + SDL_GL_SwapBuffers(); + }; + + glDisable(GL_TEXTURE_2D); glPopMatrix(); }