summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
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;