set rounding to zero, elements look better like this

This commit is contained in:
radius 2016-02-24 22:58:11 -05:00
parent 1e74f02b94
commit ee6a0e40b0

View File

@ -444,7 +444,11 @@ static int wimp_start(struct wimp *gui, int width, int height)
init = 1; init = 1;
} }
/* set rounding to zero on all elements */
for (int i = 0; i < ZR_ROUNDING_MAX; ++i)
{
ctx->style.rounding[i] = 0;
}
wimp_main(ctx, width, height, gui); wimp_main(ctx, width, height, gui);
wimp_control(ctx, width, height, gui); wimp_control(ctx, width, height, gui);
zr_buffer_info(&gui->status, &gui->ctx.memory); zr_buffer_info(&gui->status, &gui->ctx.memory);