mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Disable nvtt asserts.
This commit is contained in:
3
3rdparty/nvtt/nvcore/debug.h
vendored
3
3rdparty/nvtt/nvcore/debug.h
vendored
@@ -1,4 +1,4 @@
|
|||||||
// This code is in the public domain -- Ignacio Castaño <castano@gmail.com>
|
// This code is in the public domain -- Ignacio Castaño <castano@gmail.com>
|
||||||
|
|
||||||
#ifndef NV_CORE_DEBUG_H
|
#ifndef NV_CORE_DEBUG_H
|
||||||
#define NV_CORE_DEBUG_H
|
#define NV_CORE_DEBUG_H
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
# define nvAssert(exp) nvNoAssert(exp)
|
# define nvAssert(exp) nvNoAssert(exp)
|
||||||
# define nvCheck(exp) nvNoAssert(exp)
|
# define nvCheck(exp) nvNoAssert(exp)
|
||||||
|
# define nvCheckMacro(exp) (exp)
|
||||||
# define nvDebugAssert(exp) nvNoAssert(exp)
|
# define nvDebugAssert(exp) nvNoAssert(exp)
|
||||||
# define nvDebugCheck(exp) nvNoAssert(exp)
|
# define nvDebugCheck(exp) nvNoAssert(exp)
|
||||||
# define nvDebugBreak() nvNoAssert(0)
|
# define nvDebugBreak() nvNoAssert(0)
|
||||||
|
|||||||
2
3rdparty/nvtt/nvcore/nvcore.h
vendored
2
3rdparty/nvtt/nvcore/nvcore.h
vendored
@@ -4,7 +4,7 @@
|
|||||||
#define NV_CORE_H
|
#define NV_CORE_H
|
||||||
|
|
||||||
#define NVCORE_SHARED 0
|
#define NVCORE_SHARED 0
|
||||||
#define NV_NO_ASSERT 0
|
#define NV_NO_ASSERT 1
|
||||||
|
|
||||||
// Function linkage
|
// Function linkage
|
||||||
#if NVCORE_SHARED
|
#if NVCORE_SHARED
|
||||||
|
|||||||
Reference in New Issue
Block a user