Skip to content

Commit

Permalink
gg: enable clean compilation without notices for `./v -check-unused-f…
Browse files Browse the repository at this point in the history
…n-args examples/tetris/`
  • Loading branch information
spytheman committed Jan 9, 2025
1 parent 85f42f3 commit 3acbd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/gg/text_rendering.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub mut:

const buff_size = int($d('gg_text_buff_size', 2048))

fn clear_atlas_callback(uptr voidptr, error int, val int) {
fn clear_atlas_callback(uptr voidptr, error int, _val int) {
if error == 1 { // atlas overflow error code
fons := unsafe { &fontstash.Context(uptr) }
fons.reset_atlas(buff_size, buff_size)
Expand Down

0 comments on commit 3acbd58

Please sign in to comment.