diff options
author | Aki <please@ignore.pl> | 2022-02-16 23:59:33 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-02-16 23:59:33 +0100 |
commit | f49d139c6bb975a68478eedd9763028443f47d25 (patch) | |
tree | 500049d7ee6b8b32f8b142ba5a1287ca7edb62d6 /Stars45/Game.h | |
parent | 5412bc10447bc0154f6c813d029d5c1c1d835388 (diff) | |
download | starshatter-f49d139c6bb975a68478eedd9763028443f47d25.zip starshatter-f49d139c6bb975a68478eedd9763028443f47d25.tar.gz starshatter-f49d139c6bb975a68478eedd9763028443f47d25.tar.bz2 |
Changed video related static game method to instance methods
Diffstat (limited to 'Stars45/Game.h')
-rw-r--r-- | Stars45/Game.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Game.h b/Stars45/Game.h index d4042ec..9463338 100644 --- a/Stars45/Game.h +++ b/Stars45/Game.h @@ -68,7 +68,7 @@ public: // static void Panic(const char* msg=0); - static bool DisplayModeSupported(int w, int h, int bpp); + bool DisplayModeSupported(int w, int h, int bpp); static int MaxTexSize(); static int MaxTexAspect(); static int GammaLevel(); @@ -92,7 +92,7 @@ public: static double GetMinFrameLength() { return min_frame_length; } static Game* GetInstance(); - static Video* GetVideo(); + Video* GetVideo(); static Color GetScreenColor(); static void SetScreenColor(Color c); static int GetScreenWidth(); |