Skip to content

Commit

Permalink
Fix compilation for Linux some more
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Feb 1, 2025
1 parent 5af4510 commit 05ebf9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/backends/hlsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ static void hlsl_export_amplification(char *directory, function *main) {

write_functions(hlsl, &offset, SHADER_STAGE_AMPLIFICATION, main, NULL, 0);

char *output = NULL;
uint8_t *output = NULL;
size_t output_size = 0;
int result = compile_hlsl_to_d3d12(hlsl, &output, &output_size, SHADER_STAGE_AMPLIFICATION, false);

Expand Down Expand Up @@ -1264,7 +1264,7 @@ static void hlsl_export_mesh(char *directory, function *main) {

write_functions(hlsl, &offset, SHADER_STAGE_MESH, main, NULL, 0);

char *output = NULL;
uint8_t *output = NULL;
size_t output_size = 0;
int result = compile_hlsl_to_d3d12(hlsl, &output, &output_size, SHADER_STAGE_MESH, false);

Expand Down

0 comments on commit 05ebf9b

Please sign in to comment.