X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Frenders%2Fopengl%2Fr_loadscreen.pas;h=d95d3a475ff26184f36d504676683503269f8157;hb=b4e158834e92ec5c007a8af5a116855b8062c82d;hp=2786eb3318a01ce8c807dd34e4e074925c927c92;hpb=0c447046675a6de0d4cfb88e3cfc31b885138ba1;p=d2df-sdl.git diff --git a/src/game/renders/opengl/r_loadscreen.pas b/src/game/renders/opengl/r_loadscreen.pas index 2786eb3..d95d3a4 100644 --- a/src/game/renders/opengl/r_loadscreen.pas +++ b/src/game/renders/opengl/r_loadscreen.pas @@ -31,11 +31,7 @@ interface implementation uses - {$IFDEF USE_GLES1} - GLES11, - {$ELSE} - GL, GLEXT, - {$ENDIF} + {$I ../../../nogl/noGLuses.inc} {$IFDEF ENABLE_SYSTEM} g_system, {$ENDIF} @@ -144,7 +140,7 @@ implementation hh := gScreenHeight - yy - 96; r_Draw_Setup(gWinSizeX, gWinSizeY, gScreenWidth, gScreenHeight); glClearColor(0.0, 0.0, 0.0, 0.0); - glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT); + glClear(GL_COLOR_BUFFER_BIT); r_Common_DrawBackground(GameWad + ':TEXTURES/INTER'); r_Draw_FillRect(0, 0, gScreenWidth - 1, gScreenHeight - 1, 0, 0, 0, 105); if menufont <> nil then