Browse Source

replace NULL with 0

Daniel Hooper 2 years ago
parent
commit
d26015535a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sokol_gfx.h

+ 1 - 1
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;