From b5008978a7b5b23358c2a6980b5a1eb2d33bf08d Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 19 Feb 2024 18:11:42 -0800 Subject: Update to latest gfx. --- gfx-iso/app/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gfx-iso/app/main.c') diff --git a/gfx-iso/app/main.c b/gfx-iso/app/main.c index ff8a266..050a42f 100644 --- a/gfx-iso/app/main.c +++ b/gfx-iso/app/main.c @@ -99,11 +99,11 @@ static bool init(const GfxAppDesc* desc, void** app_state) { goto cleanup; } - SceneObject* object = gfx_make_object(); + SceneObject* object = + gfx_make_object(&(ObjectDesc){.num_meshes = 1, .meshes = {mesh}}); if (!object) { goto cleanup; } - gfx_add_object_mesh(object, mesh); state->scene = gfx_make_scene(); SceneNode* node = gfx_make_object_node(object); -- cgit v1.2.3