aboutsummaryrefslogtreecommitdiff
path: root/apps/chess
diff options
context:
space:
mode:
authorMarvin Borner2021-06-13 12:59:45 +0200
committerMarvin Borner2021-06-13 12:59:45 +0200
commit5053382808960f3209b3fd217fd6b20b240f0d38 (patch)
treef51dede9317c268ce3ce11b5ddaa8a1a9b7295cf /apps/chess
parentd832f9ddc9187c83a52a724d4ea39aea08de485b (diff)
Added image viewer and blerp scaling
Diffstat (limited to 'apps/chess')
-rw-r--r--apps/chess/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/chess/main.c b/apps/chess/main.c
index a546e63..64911dc 100644
--- a/apps/chess/main.c
+++ b/apps/chess/main.c
@@ -64,7 +64,7 @@ static void load_image(struct piece *tile)
enum gfx_filter filter = IS_COLOR(tile->piece, BLACK) ? GFX_FILTER_NONE : GFX_FILTER_INVERT;
/* assert(gui_fill(win, tile->widget, GUI_LAYER_FG, 0) == EOK); */
- gui_load_image_filter(win, tile->widget, GUI_LAYER_FG, vec2(0, 0), vec2(TILE, TILE), filter,
+ gui_draw_image_filter(win, tile->widget, GUI_LAYER_FG, vec2(0, 0), vec2(TILE, TILE), filter,
icon);
}