index 31d29346a9aca33ae316560d0a53713709e7d72e..d95d3a475ff26184f36d504676683503269f8157 100644 (file)
implementation
uses
implementation
uses
- {$IFDEF USE_GLES1}
- GLES11,
- {$ELSE}
- GL, GLEXT,
- {$ENDIF}
+ {$I ../../../nogl/noGLuses.inc}
{$IFDEF ENABLE_SYSTEM}
g_system,
{$ENDIF}
{$IFDEF ENABLE_SYSTEM}
g_system,
{$ENDIF}
xx := gScreenWidth div 3;
yy := gScreenHeight div 3;
hh := gScreenHeight - yy - 96;
xx := gScreenWidth div 3;
yy := gScreenHeight div 3;
hh := gScreenHeight - yy - 96;
- r_Draw_Setup(gScreenWidth, gScreenHeight);
+ r_Draw_Setup(gWinSizeX, gWinSizeY, gScreenWidth, gScreenHeight);
glClearColor(0.0, 0.0, 0.0, 0.0);
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
r_Common_DrawBackground(GameWad + ':TEXTURES/INTER');
r_Draw_FillRect(0, 0, gScreenWidth - 1, gScreenHeight - 1, 0, 0, 0, 105);
if menufont <> nil then