diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 18:09:20 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 18:09:20 +0100 |
| commit | c919417673520e95c149e79270155d798eb613d7 (patch) | |
| tree | 3a31fdb78269df039810bf92d851a88ac9171d50 /src/utils.h | |
| parent | 3e3ffdfe8de8b5bdda7f479d2ae198821b65a9dd (diff) | |
working on textures and samplers
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index ce19428..f159c9b 100644 --- a/src/utils.h +++ b/src/utils.h @@ -62,7 +62,7 @@ static inline u32 wayc_min(u32 a, u32 b) { return a > b ? a : b; } if (!(expr)) wayc_panic("Assertion failed: %s", #expr); \ } while (0) -#define wayc_notnull(expr) wayc_assert(expr != NULL) +#define wayc_notnull(expr) wayc_assert(expr != nullptr) #define WAYC_CONCAT_IMPL(a, b) a##b #define WAYC_CONCAT(a, b) WAYC_CONCAT_IMPL(a, b) |
