Skip to content

Commit

Permalink
replace NULL with 0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchasehooper committed Sep 19, 2023
1 parent 6d939a0 commit d260155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sokol_gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d260155

Please sign in to comment.