diff options
| author | David Lannan <dlannan68@gmail.com> | 2024-10-24 17:43:36 +1030 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-24 17:43:36 +1030 |
| commit | a3c84deb669d4b475d7e735a20f35199792eef34 (patch) | |
| tree | 72879d2f2a44c8a67232f57014b91bdcb2d2a612 /util/sokol_nuklear.h | |
| parent | 41b30d3076a9304e71238fc72f0acc6dc3508933 (diff) | |
Update sokol_nuklear.h
Fixed incorrect parameter passing.
Diffstat (limited to 'util/sokol_nuklear.h')
| -rw-r--r-- | util/sokol_nuklear.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_nuklear.h b/util/sokol_nuklear.h index 33256d95..a598b59d 100644 --- a/util/sokol_nuklear.h +++ b/util/sokol_nuklear.h @@ -2153,7 +2153,7 @@ SOKOL_API_IMPL void snk_setup(const snk_desc_t* desc) { if (_snuklear.atlas.default_font) { nk_style_set_font(&_snuklear.ctx, &_snuklear.atlas.default_font->handle); // This adds the default cursors into the nuklear overlay for use. - nk_style_load_all_cursors(&_snuklear.ctx, &_snuklear.atlas.cursors); + nk_style_load_all_cursors(&_snuklear.ctx, &_snuklear.atlas.cursors[0]); } } |