Skip to content

Commit

Permalink
Merge branch 'main' of https://git.kode.tech/r/Kongruent
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jun 11, 2024
2 parents 08f3a3c + f11ed90 commit f20f7e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/integrations/kinc.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ void kinc_export(char *directory, api_kind api) {

FILE *output = fopen(filename, "wb");

fprintf(output, "#ifndef KONG_INTEGRATION_HEADER\n");
fprintf(output, "#define KONG_INTEGRATION_HEADER\n\n");

fprintf(output, "#include <kinc/graphics4/constantbuffer.h>\n");
fprintf(output, "#include <kinc/graphics4/pipeline.h>\n");
fprintf(output, "#include <kinc/graphics4/vertexbuffer.h>\n");
Expand Down Expand Up @@ -315,6 +318,8 @@ void kinc_export(char *directory, api_kind api) {
}
}

fprintf(output, "#endif\n");

fclose(output);
}

Expand Down

0 comments on commit f20f7e4

Please sign in to comment.