Skip to content

Commit

Permalink
Use the bvh type for the bvh
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 17, 2024
1 parent edb14cb commit 6422abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/integrations/kope.c
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand All @@ -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));
Expand Down

0 comments on commit 6422abd

Please sign in to comment.