Skip to content

Commit 93940cc

Browse files
authored
Merge pull request #363 from lockie/master
allegro5 demo: Fix warning
2 parents c91ca8b + 5ea1a66 commit 93940cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demo/allegro5/nuklear_allegro5.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ NK_API void nk_allegro5_del_image(struct nk_image* image)
9898
static float
9999
nk_allegro5_font_get_text_width(nk_handle handle, float height, const char *text, int len)
100100
{
101+
NK_UNUSED(height);
101102
NkAllegro5Font *font = (NkAllegro5Font*)handle.ptr;
102103
if (!font || !text) {
103104
return 0;

0 commit comments

Comments
 (0)