diff options
Diffstat (limited to 'src/gui/widget.c')
-rw-r--r-- | src/gui/widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widget.c b/src/gui/widget.c index 70e0dbc..cac4dfb 100644 --- a/src/gui/widget.c +++ b/src/gui/widget.c @@ -37,7 +37,7 @@ void widget_draw( void *obj, graphics_context_t *context ) widget->vtable->model_to_screen( widget, &x, &y ); - vga_draw_rectangle( context, x, y, widget->w, widget->h, + ((video_vtable_t *)(context->base.vtable))->draw_rectangle( context, x, y, widget->w, widget->h, widget->background_color ); } |