mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 12:42:35 +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
|
||||
#define NV_CORE_DEBUG_H
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
# define nvAssert(exp) nvNoAssert(exp)
|
||||
# define nvCheck(exp) nvNoAssert(exp)
|
||||
# define nvCheckMacro(exp) (exp)
|
||||
# define nvDebugAssert(exp) nvNoAssert(exp)
|
||||
# define nvDebugCheck(exp) nvNoAssert(exp)
|
||||
# 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 NVCORE_SHARED 0
|
||||
#define NV_NO_ASSERT 0
|
||||
#define NV_NO_ASSERT 1
|
||||
|
||||
// Function linkage
|
||||
#if NVCORE_SHARED
|
||||
|
||||
Reference in New Issue
Block a user