aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_nuklear.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-07-16 18:56:24 +0200
committerAndre Weissflog <floooh@gmail.com>2023-07-16 18:56:24 +0200
commitb96f491f24ba8cadfa276dadbcadbb9d13e8d3a4 (patch)
treeea7c71ed0d6c1edce0f1579ba91d98bdcb1ef9c5 /util/sokol_nuklear.h
parent99986cccaaec2ebc21b79e680b543eeb91d60f03 (diff)
sokol_nuklear.h: fix example code in docs
Diffstat (limited to 'util/sokol_nuklear.h')
-rw-r--r--util/sokol_nuklear.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_nuklear.h b/util/sokol_nuklear.h
index 18444034..21b7761e 100644
--- a/util/sokol_nuklear.h
+++ b/util/sokol_nuklear.h
@@ -159,7 +159,7 @@
`nk_handle snk_nkhandle(sg_image img)` together with
the Nuklear function nk_image_handle like this:
- nk_image_handle(snk_nkhandle(img))
+ nk_image nki = nk_image_handle(snk_nkhandle(img));
Note that it's currently not possible to provide a custom sg_sampler object.