aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UGraphic.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Classes/UGraphic.pas')
-rw-r--r--Game/Code/Classes/UGraphic.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/Game/Code/Classes/UGraphic.pas b/Game/Code/Classes/UGraphic.pas
index dfcec7cc..fecdb10f 100644
--- a/Game/Code/Classes/UGraphic.pas
+++ b/Game/Code/Classes/UGraphic.pas
@@ -525,7 +525,7 @@ begin
//SDL_WaitThread(LoadingThread, I);
// SDL_DestroyMutex(Mutex);
- Display.ActualScreen^.FadeTo( @ScreenMain );
+ Display.CurrentScreen^.FadeTo( @ScreenMain );
Log.BenchmarkEnd(2);
Log.LogBenchmark('--> Loading Screens', 2);
@@ -644,7 +644,7 @@ begin
ScreenLoading := TScreenLoading.Create;
ScreenLoading.onShow;
- Display.ActualScreen := @ScreenLoading;
+ Display.CurrentScreen := @ScreenLoading;
swapbuffers;
@@ -658,7 +658,7 @@ procedure LoadScreens;
begin
{ ScreenLoading := TScreenLoading.Create;
ScreenLoading.onShow;
- Display.ActualScreen := @ScreenLoading;
+ Display.CurrentScreen := @ScreenLoading;
ScreenLoading.Draw;
Display.Draw;
SwapBuffers;