diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-06-18 15:15:12 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-06-18 15:16:30 +0100 |
commit | f660b655e03db57a5e2bb0509e049a9e69df1b16 (patch) | |
tree | b0c5b4f16b85c17eeafeb629debadd0b3cfa1505 /cli | |
parent | 1f2a2c50b4814e84f861bf10e0a986395aa87526 (diff) |
d2d1trace: Don't provide d2d1.dll/dwrite.dll stubs.
Just like done for DXGI.
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli_trace.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/cli_trace.cpp b/cli/cli_trace.cpp index e5b0cfdc..ac89636e 100644 --- a/cli/cli_trace.cpp +++ b/cli/cli_trace.cpp @@ -122,6 +122,10 @@ traceProgram(trace::API api, wrapperFilename = "dxgitrace.dll"; useInject = true; break; + case trace::API_D2D1: + wrapperFilename = "d2d1trace.dll"; + useInject = true; + break; #endif default: std::cerr << "error: unsupported API\n"; @@ -326,6 +330,9 @@ command(int argc, char *argv[]) strcmp(optarg, "d3d11") == 0 || strcmp(optarg, "d3d11_1") == 0) { api = trace::API_DXGI; + } else if (strcmp(optarg, "d2d") == 0 || + strcmp(optarg, "d2d1") == 0) { + api = trace::API_D2D1; } else { std::cerr << "error: unknown API `" << optarg << "`\n"; usage(); |