summaryrefslogtreecommitdiffhomepage
path: root/Stars45/GameWinDX9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/GameWinDX9.cpp')
-rw-r--r--Stars45/GameWinDX9.cpp7
1 files changed, 3 insertions, 4 deletions
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;