From f49d139c6bb975a68478eedd9763028443f47d25 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 16 Feb 2022 23:59:33 +0100 Subject: Changed video related static game method to instance methods --- Stars45/Game.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/Game.h') 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(); -- cgit v1.1