summaryrefslogtreecommitdiff
path: root/cli/cli_trace.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-04-23 10:18:28 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-04-23 10:18:28 +0100
commit889d32c7208736694073136f62084910e375d2a8 (patch)
tree7ba824a8ac4587fad47f5253b313dda90c8f6cac /cli/cli_trace.cpp
parentfc9939fc84a006ccddfad84b137b6915b1a55771 (diff)
Detect/handle more APIs in CLI/GUI.
Diffstat (limited to 'cli/cli_trace.cpp')
-rw-r--r--cli/cli_trace.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/cli_trace.cpp b/cli/cli_trace.cpp
index a67416b1..80775090 100644
--- a/cli/cli_trace.cpp
+++ b/cli/cli_trace.cpp
@@ -104,6 +104,10 @@ command(int argc, char *argv[])
api = trace::API_D3D9;
} else if (strcmp(optarg, "d3d10") == 0) {
api = trace::API_D3D10;
+ } else if (strcmp(optarg, "d3d10_1") == 0) {
+ api = trace::API_D3D10_1;
+ } else if (strcmp(optarg, "d3d11") == 0) {
+ api = trace::API_D3D11;
} else {
std::cerr << "error: unknown API `" << optarg << "`\n";
usage();