From 64830ce51a185091f54c2b42b365110d89d44f1b Mon Sep 17 00:00:00 2001 From: Omniscient Date: Sun, 9 Jun 2024 11:42:17 +1000 Subject: triangle on opengl works again. happy days --- src/renderer/ral.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/renderer/ral.c') diff --git a/src/renderer/ral.c b/src/renderer/ral.c index fe12b4f..123c932 100644 --- a/src/renderer/ral.c +++ b/src/renderer/ral.c @@ -68,4 +68,9 @@ void resource_pools_init(arena* a, struct resource_pools* res_pools) { res_pools->textures = tex_pool; // context.resource_pools = res_pools; -} \ No newline at end of file +} + +void print_shader_binding(shader_binding b) { + printf("Binding name: %s type %s vis %d stores data %d\n", b.label, + shader_binding_type_name[b.type], b.vis, b.stores_data); +} -- cgit v1.2.3-70-g09d2