diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-23 05:11:07 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-23 05:11:07 +0000 |
| commit | 9afd65cc2de12a9c2bc69d7a2a3c8d226901c53f (patch) | |
| tree | e0531e3fa6fd2ae76395aafa403cf024270d8e15 /Primitives/interface | |
| parent | Fixed few minor issues with MAP_FLAG_DO_NOT_SYNCHRONIZE in D3D12 and Vulkan (diff) | |
| download | DiligentCore-9afd65cc2de12a9c2bc69d7a2a3c8d226901c53f.tar.gz DiligentCore-9afd65cc2de12a9c2bc69d7a2a3c8d226901c53f.zip | |
Updated debug utilities to translate DEV_CHECK_ERR to VERIFY in debug build
Diffstat (limited to 'Primitives/interface')
| -rw-r--r-- | Primitives/interface/Errors.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Primitives/interface/Errors.h b/Primitives/interface/Errors.h index 8a4ade37..187a55ce 100644 --- a/Primitives/interface/Errors.h +++ b/Primitives/interface/Errors.h @@ -140,17 +140,3 @@ do{ \ } \ }while(false) - -#ifdef DEVELOPMENT - -#define DEV_CHECK_ERR(Expr, ...) CHECK_ERR (Expr, ##__VA_ARGS__) -#define DEV_CHECK_WARN(Expr, ...) CHECK_WARN(Expr, ##__VA_ARGS__) -#define DEV_CHECK_INFO(Expr, ...) CHECK_INFO(Expr, ##__VA_ARGS__) - -#else - -#define DEV_CHECK_ERR(Expr, ...) do{}while(false) -#define DEV_CHECK_WARN(Expr, ...) do{}while(false) -#define DEV_CHECK_INFO(Expr, ...) do{}while(false) - -#endif |
