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/VideoFactory.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Stars45/VideoFactory.cpp') diff --git a/Stars45/VideoFactory.cpp b/Stars45/VideoFactory.cpp index cb4d542..68da591 100644 --- a/Stars45/VideoFactory.cpp +++ b/Stars45/VideoFactory.cpp @@ -11,7 +11,6 @@ Video and Polygon Renderer Factory class */ -#include "MemDebug.h" #include "VideoFactory.h" #include "VideoDX9.h" @@ -32,7 +31,7 @@ Video* VideoFactory::CreateVideo(VideoSettings* vs) { if (!video) { - video = (Video*) new(__FILE__,__LINE__) VideoDX9(hwnd, vs); + video = (Video*) new VideoDX9(hwnd, vs); if (!video) { delete video; @@ -60,7 +59,7 @@ SoundCard* VideoFactory::CreateSoundCard() { if (!audio) { - audio = new(__FILE__,__LINE__) SoundCardD3D(hwnd); + audio = new SoundCardD3D(hwnd); Sound::UseSoundCard(audio); } -- cgit v1.1