From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/GameWinDX9.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Stars45/GameWinDX9.cpp') diff --git a/Stars45/GameWinDX9.cpp b/Stars45/GameWinDX9.cpp index 2189712..5414027 100644 --- a/Stars45/GameWinDX9.cpp +++ b/Stars45/GameWinDX9.cpp @@ -14,7 +14,6 @@ #include "DataLoader.h" #include "Game.h" #include "MachineInfo.h" -#include "MemDebug.h" #include "Panic.h" #include "Screen.h" #include "Types.h" @@ -242,7 +241,7 @@ GameWinDX9::InitGame() } Print(" Created video object.\n"); Color::UseVideo(video); - screen = new(__FILE__, __LINE__) Screen(video); + screen = new Screen(video); if (!screen) { Panic::Panic("Could not create the Screen object."); return false; @@ -262,7 +261,7 @@ GameWinDX9::InitVideo() if (server) return true; // create a video factory, and video object: - video_factory = new(__FILE__,__LINE__) VideoFactory(hwnd); + video_factory = new VideoFactory(hwnd); if (video_factory) { Print(" Init Video...\n"); @@ -323,7 +322,7 @@ GameWinDX9::ResetVideo() Color::UseVideo(video); - screen = new(__FILE__,__LINE__) Screen(video); + screen = new Screen(video); if (!screen) { Panic::Panic("Could not re-create Screen object."); return false; -- cgit v1.1