mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
warning fixes
please review Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1307 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#define _GLOBALS_H
|
||||
|
||||
#include "pluginspecs_dsp.h"
|
||||
#include "Common.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#define WITH_DSP_ON_THREAD 1
|
||||
@ -31,24 +32,6 @@ void ErrorLog(const char* _fmt, ...);
|
||||
void DSP_DebugBreak();
|
||||
|
||||
|
||||
#ifndef _dbg_assert_
|
||||
#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||
|
||||
#undef _dbg_assert_
|
||||
#undef _dbg_assert_msg_
|
||||
#define _dbg_assert_(_a_) if (!(_a_)){DebugBreak();}
|
||||
#define _dbg_assert_msg_(_a_, _desc_, ...)\
|
||||
if (!(_a_)){\
|
||||
if (MessageBox(NULL, _desc_, "*** Fatal Error ***", MB_YESNO | MB_ICONERROR) == IDNO){DebugBreak();}}
|
||||
|
||||
#else
|
||||
|
||||
#define _dbg_assert_(_a_);
|
||||
#define _dbg_assert_msg_(_a_, _desc_, ...);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef unsigned char uint8;
|
||||
typedef unsigned short uint16;
|
||||
typedef unsigned int uint32;
|
||||
|
Reference in New Issue
Block a user