From 6422abd773e8bcf62b271c3e50712fd4b6598aab Mon Sep 17 00:00:00 2001 From: Robert Konrad Date: Tue, 17 Sep 2024 02:10:32 +0200 Subject: [PATCH] Use the bvh type for the bvh --- Sources/integrations/kope.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/integrations/kope.c b/Sources/integrations/kope.c index 7311011..eadfd42 100644 --- a/Sources/integrations/kope.c +++ b/Sources/integrations/kope.c @@ -575,7 +575,7 @@ void kope_export(char *directory, api_kind api) { fprintf(output, "\tkope_g5_sampler *%s;\n", get_name(get_global(d.global)->name)); break; case DEFINITION_BVH: - fprintf(output, "\tkope_g5_buffer *%s;\n", get_name(get_global(d.global)->name)); + fprintf(output, "\tkope_g5_raytracing_hierarchy *%s;\n", get_name(get_global(d.global)->name)); break; default: { debug_context context = {0}; @@ -595,7 +595,7 @@ void kope_export(char *directory, api_kind api) { fprintf(output, "\tkope_g5_buffer *%s;\n", get_name(get_global(d.global)->name)); break; case DEFINITION_BVH: - fprintf(output, "\tkope_g5_buffer *%s;\n", get_name(get_global(d.global)->name)); + fprintf(output, "\tkope_g5_raytracing_hierarchy *%s;\n", get_name(get_global(d.global)->name)); break; case DEFINITION_TEX2D: fprintf(output, "\tkope_g5_texture *%s;\n", get_name(get_global(d.global)->name));