neuwld

patched neuwld library (tracked)
git clone https://git.daat.foo/neuwld.git
Log | Files | Refs | README | LICENSE

commit be5d6d3414a65ffa9c08bca29bc9ce6690728fcb
parent bd5e82a27a78a535dc30cc62829ac4c9c6600cc4
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 24 Jul 2013 23:43:38 -0700

default_fill_region: Call interface method directly

Diffstat:
Mdrawable.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drawable.c b/drawable.c @@ -34,9 +34,10 @@ void default_fill_region(struct wld_drawable * drawable, uint32_t color, for (index = 0; index < num_boxes; ++index) { - wld_fill_rectangle(drawable, color, boxes[index].x1, boxes[index].y1, - boxes[index].x2 - boxes[index].x1, - boxes[index].y2 - boxes[index].y1); + drawable->interface->fill_rectangle + (drawable, color, boxes[index].x1, boxes[index].y1, + boxes[index].x2 - boxes[index].x1, + boxes[index].y2 - boxes[index].y1); } }