Disable nvtt asserts.

This commit is contained in:
Branimir Karadžić
2023-11-06 21:31:21 -08:00
parent dce2c35a49
commit 5d61905eb1
2 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -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