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/VideoDX9Enum.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Stars45/VideoDX9Enum.cpp') diff --git a/Stars45/VideoDX9Enum.cpp b/Stars45/VideoDX9Enum.cpp index 96f938a..c254513 100644 --- a/Stars45/VideoDX9Enum.cpp +++ b/Stars45/VideoDX9Enum.cpp @@ -11,7 +11,6 @@ Direct3D Video class for DirectX 9 */ -#include "MemDebug.h" #include "VideoDX9Enum.h" #include "VideoSettings.h" #include "Color.h" @@ -267,7 +266,7 @@ VideoDX9Enum::Enumerate() UINT num_adapters = d3d->GetAdapterCount(); for (UINT ordinal = 0; ordinal < num_adapters; ordinal++) { - adapter_info = new(__FILE__,__LINE__) VideoDX9AdapterInfo; + adapter_info = new VideoDX9AdapterInfo; if (!adapter_info) return E_OUTOFMEMORY; @@ -292,7 +291,7 @@ VideoDX9Enum::Enumerate() continue; } - VideoDX9DisplayMode* dx9_display_mode = new(__FILE__,__LINE__) VideoDX9DisplayMode(display_mode); + VideoDX9DisplayMode* dx9_display_mode = new VideoDX9DisplayMode(display_mode); if (!dx9_display_mode) { delete adapter_info; @@ -365,7 +364,7 @@ VideoDX9Enum::EnumerateDevices(VideoDX9AdapterInfo* adapter_info, std::vectords_format = depth_format; conflict->multisample_type = multisample_type; -- cgit v1.1