Skip to content

Commit

Permalink
Support all versions of Direct3D
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Oct 4, 2023
1 parent 48f75da commit 9eb8cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/kong.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ int main(int argc, char **argv) {
convert_function_block(&get_function(i)->code, get_function(i)->block);
}

if (strcmp(api, "direct3d11") == 0) {
if (strcmp(api, "direct3d9") == 0 || strcmp(api, "direct3d11") == 0 || strcmp(api, "direct3d12") == 0) {
hlsl_export(output);
}
else if (strcmp(api, "opengl") == 0) {
Expand Down

0 comments on commit 9eb8cae

Please sign in to comment.