compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2112 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7b7cfa940e
commit
7bb2aee235
|
@ -92,11 +92,7 @@ struct TRectangle
|
||||||
void DebugLog(const char* _fmt, ...); // This one goes to the main program
|
void DebugLog(const char* _fmt, ...); // This one goes to the main program
|
||||||
void HandleGLError();
|
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
|
#ifdef _WIN32
|
||||||
#define ERROR_LOG(...) LOG(VIDEO, __VA_ARGS__)
|
#define ERROR_LOG(...) LOG(VIDEO, __VA_ARGS__)
|
||||||
|
@ -111,5 +107,10 @@ void HandleGLError();
|
||||||
#define DEBUG_LOG(...) LOG(VIDEO, ##__VA_ARGS__)
|
#define DEBUG_LOG(...) LOG(VIDEO, ##__VA_ARGS__)
|
||||||
#endif
|
#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
|
#endif // _VIDEOCOMMON_H
|
||||||
|
|
|
@ -51,9 +51,6 @@ else:
|
||||||
if gfxenv['HAVE_WX']:
|
if gfxenv['HAVE_WX']:
|
||||||
files += [
|
files += [
|
||||||
'GUI/ConfigDlg.cpp',
|
'GUI/ConfigDlg.cpp',
|
||||||
'Debugger/Debugger.cpp',
|
|
||||||
'Debugger/PBView.cpp',
|
|
||||||
'Debugger/Logging.cpp',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if gfxenv['HAVE_COCOA']:
|
if gfxenv['HAVE_COCOA']:
|
||||||
|
|
Loading…
Reference in New Issue