ddt_ex

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | LICENSE

commit f25a0cf05553d298b45ba90380f3b2c069959287
parent 7f3aa207c1352633f0d480e2dc0039f2948419cb
Author: Samdal <samdal@protonmail.com>
Date:   Thu, 20 Oct 2022 19:54:05 +0200

update add screen rect

Diffstat:
Msource/main.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/source/main.c b/source/main.c @@ -134,7 +134,10 @@ void app_update() // Render gui gs_gui_begin(gui, NULL); - gs_ddt(&ddt, gui, NULL); + + gs_vec2 fb = gui->framebuffer_size; + gs_gui_rect_t screen = gs_gui_rect(0, 0, fb.x, fb.y); + gs_ddt(&ddt, gui, screen, NULL); gs_gui_end(gui); gs_gui_render(gui, cb);