Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GH Action committed Sep 20, 2024
1 parent 41663d3 commit 8cb05cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sokol/c/sokol_gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,8 @@ 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;
_sgl_clear(&defaults, sizeof(defaults));
return defaults;
}

Expand Down

0 comments on commit 8cb05cb

Please sign in to comment.