From 83636d456610ef7ef7b30bfb125aecaafe0a8686 Mon Sep 17 00:00:00 2001 From: vurtun Date: Fri, 30 Jun 2017 16:35:03 +0200 Subject: [PATCH] Fixed #472 with draw lines smaller/equal zero --- nuklear.h | 1 - 1 file changed, 1 deletion(-) diff --git a/nuklear.h b/nuklear.h index 3598d40..278aa70 100644 --- a/nuklear.h +++ b/nuklear.h @@ -7386,7 +7386,6 @@ nk_stroke_rect(struct nk_command_buffer *b, struct nk_rect rect, if (!NK_INTERSECT(rect.x, rect.y, rect.w, rect.h, clip->x, clip->y, clip->w, clip->h)) return; } - cmd = (struct nk_command_rect*) nk_command_buffer_push(b, NK_COMMAND_RECT, sizeof(*cmd)); if (!cmd) return;