[host] move windows specific debug code to the host

This commit is contained in:
Geoffrey McRae 2019-02-28 16:22:55 +11:00
parent a57d68acd5
commit 5a37a53cb0
3 changed files with 3 additions and 8 deletions

View File

@ -59,8 +59,3 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#else
#define DEBUG_PROTO(fmt, ...) do {} while(0)
#endif
#ifdef _WIN32
#include "Util.h"
#define DEBUG_WINERROR(x, y) Util::DebugWinError(STRIPPATH(__FILE__), __LINE__, __FUNCTION__, x, y)
#endif

View File

@ -20,7 +20,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include "Capture/DXGI.h"
using namespace Capture;
#include "common/debug.h"
#include "WinDebug.h"
#include "common/memcpySSE.h"
static const char * DXGI_FORMAT_STR[] = {

View File

@ -19,7 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include "MFT/H264.h"
#include "common/debug.h"
#include "WinDebug.h"
#include "common/memcpySSE.h"
#include <mfapi.h>