Skip to content

Commit

Permalink
Addressed missing-field-init compiler warning in sokol_gl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
DctrNoob committed Sep 19, 2024
1 parent 34cf1e5 commit 193a72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/sokol_gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,7 @@ static void _sgl_destroy_context(sgl_context ctx_id) {
// >>misc

static sgl_error_t _sgl_error_defaults(void) {
sgl_error_t defaults = {0};
sgl_error_t defaults = { false, false, false, false, false, false, false };
return defaults;
}

Expand Down

0 comments on commit 193a72b

Please sign in to comment.