aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu/UDisplay.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Menu/UDisplay.pas')
-rw-r--r--Game/Code/Menu/UDisplay.pas4
1 files changed, 1 insertions, 3 deletions
diff --git a/Game/Code/Menu/UDisplay.pas b/Game/Code/Menu/UDisplay.pas
index 6e985a56..953282d7 100644
--- a/Game/Code/Menu/UDisplay.pas
+++ b/Game/Code/Menu/UDisplay.pas
@@ -258,7 +258,7 @@ begin
CurrentScreen.ShowFinish := False;
CurrentScreen := NextScreen;
NextScreen := nil;
- if not blackscreen then
+ if not BlackScreen then
begin
CurrentScreen.onShowFinish;
CurrentScreen.ShowFinish := true;
@@ -275,8 +275,6 @@ begin
if ((Ini.Debug = 1) or (Params.Debug)) and (S = 1) then
DrawDebugInformation;
end; // for
-
- // SDL_GL_SwapBuffers();
end;
procedure TDisplay.SaveScreenShot;