diff options
author | Aki <please@ignore.pl> | 2022-03-20 00:16:44 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-20 00:16:44 +0100 |
commit | a13a9405a3516c03218e710a353cce7557b2dee2 (patch) | |
tree | 7f7f3f9f1fce8194140e8932a3d55f1cb390d1c6 /Stars45/VidDlg.cpp | |
parent | c4d8f11ded765f5f762b1b2bbf10fac952730bbe (diff) | |
download | starshatter-a13a9405a3516c03218e710a353cce7557b2dee2.zip starshatter-a13a9405a3516c03218e710a353cce7557b2dee2.tar.gz starshatter-a13a9405a3516c03218e710a353cce7557b2dee2.tar.bz2 |
Game no longer exposes Video instance
Diffstat (limited to 'Stars45/VidDlg.cpp')
-rw-r--r-- | Stars45/VidDlg.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/VidDlg.cpp b/Stars45/VidDlg.cpp index ee1473b..aca48fa 100644 --- a/Stars45/VidDlg.cpp +++ b/Stars45/VidDlg.cpp @@ -11,7 +11,6 @@ Main Menu Dialog Active Window class */ -#include "Game.h" #include "GameWinDX9.h" #include "MemDebug.h" #include "VidDlg.h" @@ -151,7 +150,7 @@ VidDlg::Show() } } - Video* video = Game::GetInstance()->GetVideo(); + Video* video = Video::GetInstance(); if (video) { if (shadows) @@ -364,7 +363,7 @@ VidDlg::Apply() bool video_change = false; - Video* video = Game::GetInstance()->GetVideo(); + Video* video = Video::GetInstance(); if (video) { const VideoSettings* vs = video->GetVideoSettings(); |