DX11: Add the two files which I meant to include in r5740 already.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5741 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX
2010-06-18 23:45:16 +00:00
parent 5cfdb2d0c8
commit 7b58e0b4e7
3 changed files with 478 additions and 2 deletions

View File

@ -23,8 +23,8 @@
#include "GfxState.h"
#define SAFE_RELEASE(x) { if (x) (x)->Release(); (x) = NULL; }
#define SAFE_DELETE(x) { if (x) delete (x); (x) = NULL; }
#define SAFE_DELETE_ARRAY(x) { if (x) delete[] (x); (x) = NULL; }
#define SAFE_DELETE(x) { delete (x); (x) = NULL; }
#define SAFE_DELETE_ARRAY(x) { delete[] (x); (x) = NULL; }
#define CHECK(cond, Message, ...) if (!(cond)) { PanicAlert(__FUNCTION__ "Failed in %s at line %d: " Message, __FILE__, __LINE__, __VA_ARGS__); }
class D3DTexture2D;