diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-07-29 11:55:00 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-07-29 11:55:00 +0100 |
commit | acde5d1aea46e4de5182ec86b694d5da516af44a (patch) | |
tree | 25a6f43601fb4c09f9dcd83e0e57c28250d051a9 | |
parent | 5bb657ada461be666c35f419dbe072ed2ce632fc (diff) |
cli: Accept ddraw and d3d6 as alternatives to d3d7.
Since these are all implemented by ddraw.dll
-rw-r--r-- | cli/cli_trace.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/cli_trace.cpp b/cli/cli_trace.cpp index d7ed3439..adca8af3 100644 --- a/cli/cli_trace.cpp +++ b/cli/cli_trace.cpp @@ -367,7 +367,9 @@ command(int argc, char *argv[]) api = trace::API_GL; } else if (strcmp(optarg, "egl") == 0) { api = trace::API_EGL; - } else if (strcmp(optarg, "d3d7") == 0) { + } else if (strcmp(optarg, "ddraw") == 0 || + strcmp(optarg, "d3d6") == 0 || + strcmp(optarg, "d3d7") == 0) { api = trace::API_D3D7; } else if (strcmp(optarg, "d3d8") == 0) { api = trace::API_D3D8; |