From cdc32b370947f8acdc288dd3668de09a30e9e37a Mon Sep 17 00:00:00 2001 From: vurtun Date: Sun, 8 Nov 2015 11:03:54 +0100 Subject: [PATCH] removed commenent out code --- zahnrad.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/zahnrad.c b/zahnrad.c index 9752a95..b9a7c36 100644 --- a/zahnrad.c +++ b/zahnrad.c @@ -5640,17 +5640,8 @@ zr_end(struct zr_context *layout, struct zr_window *window) config = layout->style; out = layout->buffer; in = (layout->flags & ZR_WINDOW_ROM) ? 0 :layout->input; - if (!(layout->flags & ZR_WINDOW_TAB)) { -#if 0 - struct zr_rect clip; - clip.x = layout->bounds.x - 1; - clip.y = layout->bounds.y - 1; - clip.w = layout->bounds.w + 1; - clip.h = layout->bounds.h + 1; - zr_command_buffer_push_scissor(out, clip); -#endif + if (!(layout->flags & ZR_WINDOW_TAB)) zr_command_buffer_push_scissor(out, zr_null_rect); - } /* cache configuration data */ item_padding = zr_style_property(config, ZR_PROPERTY_ITEM_PADDING);