Fixed #472 with draw lines smaller/equal zero
This commit is contained in:
parent
fad605ebde
commit
83636d4566
|
@ -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,
|
if (!NK_INTERSECT(rect.x, rect.y, rect.w, rect.h,
|
||||||
clip->x, clip->y, clip->w, clip->h)) return;
|
clip->x, clip->y, clip->w, clip->h)) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd = (struct nk_command_rect*)
|
cmd = (struct nk_command_rect*)
|
||||||
nk_command_buffer_push(b, NK_COMMAND_RECT, sizeof(*cmd));
|
nk_command_buffer_push(b, NK_COMMAND_RECT, sizeof(*cmd));
|
||||||
if (!cmd) return;
|
if (!cmd) return;
|
||||||
|
|
Loading…
Reference in New Issue