From e14156ed8a7a3cfb60c977b3a331c0424faa0051 Mon Sep 17 00:00:00 2001 From: Joshua Rowe Date: Sat, 3 Aug 2024 03:49:31 +1000 Subject: make it compile --- src/new_render/immdraw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/new_render/immdraw.c b/src/new_render/immdraw.c index 3d7cf7d..c79afa0 100644 --- a/src/new_render/immdraw.c +++ b/src/new_render/immdraw.c @@ -10,8 +10,8 @@ void Immdraw_Init(Immdraw_Storage* storage) { INFO("Immediate drawing initialisation"); // meshes - Geometry sphere_geo = Geo_CreateUVsphere(1.0, 8, 8); - storage->sphere = Mesh_Create(&sphere_geo, false); + // Geometry sphere_geo = Geo_CreateUVsphere(1.0, 8, 8); + // storage->sphere = Mesh_Create(&sphere_geo, false); // pipeline / material ShaderData camera_data = { .get_layout = &Binding_Camera_GetLayout }; @@ -21,7 +21,7 @@ void Immdraw_Init(Immdraw_Storage* storage) { .data_layouts_count = 1, }; - storage->colour_pipeline = GPU_GraphicsPipeline_Create(pipeline_desc, GPU_GetDefaultRenderpass()); + // storage->colour_pipeline = GPU_GraphicsPipeline_Create(pipeline_desc, GPU_GetDefaultRenderpass()); } void Immdraw_Sphere(Transform tf, f32 size, Vec4 colour, bool wireframe) {} \ No newline at end of file -- cgit v1.2.3-70-g09d2