Commit 1bdd867e authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

vout:win32:common: no need to trace DXGI leaks here

It's already done in modules using DXGI
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 34d97955
......@@ -46,11 +46,6 @@
#include "common.h"
#include "../video_chroma/copy.h"
#if !defined(NDEBUG) && defined(HAVE_DXGIDEBUG_H)
# include <initguid.h>
# include <dxgidebug.h>
#endif
static void CommonChangeThumbnailClip(vout_display_t *, bool show);
#if !VLC_WINSTORE_APP
static int CommonControlSetFullscreen(vout_display_t *, bool is_fullscreen);
......@@ -352,21 +347,6 @@ void CommonClean(vout_display_t *vd)
}
RestoreScreensaver(vd);
#if !defined(NDEBUG) && defined(HAVE_DXGIDEBUG_H)
HRESULT (WINAPI * pf_DXGIGetDebugInterface)(const GUID *riid, void **ppDebug);
if (sys->dxgidebug_dll) {
pf_DXGIGetDebugInterface = (void *)GetProcAddress(sys->dxgidebug_dll, "DXGIGetDebugInterface");
if (pf_DXGIGetDebugInterface) {
IDXGIDebug *pDXGIDebug = NULL;
HRESULT hr = pf_DXGIGetDebugInterface(&IID_IDXGIDebug, (void**)&pDXGIDebug);
if (SUCCEEDED(hr) && pDXGIDebug) {
hr = IDXGIDebug_ReportLiveObjects(pDXGIDebug, DXGI_DEBUG_ALL, DXGI_DEBUG_RLO_ALL);
}
}
FreeLibrary(sys->dxgidebug_dll);
}
#endif
}
void CommonManage(vout_display_t *vd)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment