From d26015535a3ddc958709097bf41497535ae063cc Mon Sep 17 00:00:00 2001 From: Daniel Hooper Date: Tue, 19 Sep 2023 19:57:38 -0400 Subject: [PATCH] replace NULL with 0 --- sokol_gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sokol_gfx.h b/sokol_gfx.h index 097755940..a1d3758b4 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -7044,7 +7044,7 @@ _SOKOL_PRIVATE void _sg_gl_reset_state_cache(void) { _SOKOL_PRIVATE void _sg_gl_setup_backend(const sg_desc* desc) { _SOKOL_UNUSED(desc); - SOKOL_ASSERT(desc->context.gl.default_framebuffer_cb == NULL || desc->context.gl.default_framebuffer_userdata_cb == NULL); + SOKOL_ASSERT(desc->context.gl.default_framebuffer_cb == 0 || desc->context.gl.default_framebuffer_userdata_cb == 0); // assumes that _sg.gl is already zero-initialized _sg.gl.valid = true;