From 1908234213698c3d4376867f956695f16e3534a8 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Sat, 30 Mar 2024 22:45:12 +0800 Subject: [PATCH] Stop rendering temp bundles --- app_render.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app_render.cpp b/app_render.cpp index e1a87cd..fb7aad9 100644 --- a/app_render.cpp +++ b/app_render.cpp @@ -73,20 +73,13 @@ void app_Render(App *app) { } } - static FillMode mode_rotate = { - .rotate = Duration{.microseconds = 100 * 1000}}; - setfillcolor(RGB(255, 255, 255)); setbkcolor(RGB(0, 0, 0)); - render_SetModes(mode_rotate, since); + render_SetModes(render_ModeRotate, since); render_FillCircleW(app, vec2(200, 100), 20); - // render_DrawBundleW(app, render_FindBundle("info_plate"), vec2(600, 550)); - render_DrawBundleW(app, render_FindBundle("info_plate_small_1"), vec2(250, 200)); - render_DrawBundleW(app, render_FindBundle("info_plate_small_2"), vec2(750, 200)); - // Draw entities for (tree_Node *i = tree_FirstNode(app->entity->entities); i != NULL;