From 7bb2aee2357d8ad78e78979b38623b8c5e0f7ccc Mon Sep 17 00:00:00 2001 From: nakeee Date: Wed, 4 Feb 2009 17:46:22 +0000 Subject: [PATCH] compile fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2112 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/VideoCommon.h | 11 ++++++----- Source/Plugins/Plugin_VideoOGL/Src/SConscript | 3 --- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Source/Core/VideoCommon/Src/VideoCommon.h b/Source/Core/VideoCommon/Src/VideoCommon.h index 405f3d9416..f4c99b845a 100644 --- a/Source/Core/VideoCommon/Src/VideoCommon.h +++ b/Source/Core/VideoCommon/Src/VideoCommon.h @@ -92,11 +92,7 @@ struct TRectangle void DebugLog(const char* _fmt, ...); // This one goes to the main program void HandleGLError(); -#ifdef LOGGING -#define LOG_VTX() LOG("vtx: %f %f %f, ", ((float*)VertexManager::s_pCurBufferPointer)[0], ((float*)VertexManager::s_pCurBufferPointer)[1], ((float*)VertexManager::s_pCurBufferPointer)[2]); -#else -#define LOG_VTX() -#endif + #ifdef _WIN32 #define ERROR_LOG(...) LOG(VIDEO, __VA_ARGS__) @@ -111,5 +107,10 @@ void HandleGLError(); #define DEBUG_LOG(...) LOG(VIDEO, ##__VA_ARGS__) #endif +#ifdef LOGGING +#define LOG_VTX() PRIM_LOG("vtx: %f %f %f, ", ((float*)VertexManager::s_pCurBufferPointer)[0], ((float*)VertexManager::s_pCurBufferPointer)[1], ((float*)VertexManager::s_pCurBufferPointer)[2]); +#else +#define LOG_VTX() +#endif #endif // _VIDEOCOMMON_H diff --git a/Source/Plugins/Plugin_VideoOGL/Src/SConscript b/Source/Plugins/Plugin_VideoOGL/Src/SConscript index 2c974b53a5..e8f05f9e9e 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/SConscript +++ b/Source/Plugins/Plugin_VideoOGL/Src/SConscript @@ -51,9 +51,6 @@ else: if gfxenv['HAVE_WX']: files += [ 'GUI/ConfigDlg.cpp', - 'Debugger/Debugger.cpp', - 'Debugger/PBView.cpp', - 'Debugger/Logging.cpp', ] if gfxenv['HAVE_COCOA']: