summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-07-29 11:55:00 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-07-29 11:55:00 +0100
commitacde5d1aea46e4de5182ec86b694d5da516af44a (patch)
tree25a6f43601fb4c09f9dcd83e0e57c28250d051a9 /cli
parent5bb657ada461be666c35f419dbe072ed2ce632fc (diff)
cli: Accept ddraw and d3d6 as alternatives to d3d7.
Since these are all implemented by ddraw.dll
Diffstat (limited to 'cli')
-rw-r--r--cli/cli_trace.cpp4
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;