From 6cbe1547e3e3dd2e02a7e40fc0967877eff5f204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=B4=E9=80=B8?= <853974536@qq.com> Date: Mon, 7 Mar 2022 11:39:28 +0800 Subject: [PATCH] bug fixed. --- cpymo/cpymo_rmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpymo/cpymo_rmenu.c b/cpymo/cpymo_rmenu.c index d1a50e12..ee415baa 100644 --- a/cpymo/cpymo_rmenu.c +++ b/cpymo/cpymo_rmenu.c @@ -69,8 +69,8 @@ static void cpymo_rmenu_draw(const cpymo_engine *e, const void *ui_data) r->bg, 0, 0, - (float)r->bg_w, - (float)r->bg_h, + r->bg_w, + r->bg_h, 1.0f, cpymo_backend_image_draw_type_ui_bg); }