From c919417673520e95c149e79270155d798eb613d7 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Wed, 11 Feb 2026 18:09:20 +0100 Subject: working on textures and samplers --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.h') 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) -- cgit v1.2.3