diff options
| author | YONGH\yongh <yonghe@outlook.com> | 2017-10-25 20:35:57 -0400 |
|---|---|---|
| committer | YONGH\yongh <yonghe@outlook.com> | 2017-10-25 20:35:57 -0400 |
| commit | 24bb5562dc52615862a547ffb1b8a506ecd158e3 (patch) | |
| tree | c1c417be20c181718ef6c262e81ebcd6323904ae /tools/render-test | |
| parent | 23e3217bb375fd08b2cd41063e772ad798bb0264 (diff) | |
test
Diffstat (limited to 'tools/render-test')
| -rw-r--r-- | tools/render-test/render-d3d11.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/render-test/render-d3d11.cpp b/tools/render-test/render-d3d11.cpp index cdb9f20bd..6b42d0fe3 100644 --- a/tools/render-test/render-d3d11.cpp +++ b/tools/render-test/render-d3d11.cpp @@ -1099,7 +1099,7 @@ public: { auto dxContext = dxImmediateContext; auto dxBindingState = (D3DBindingState*)state; - FILE * f = fopen(fileName, "wt"); + FILE * f = fopen(fileName, "wb"); for (auto & binding : dxBindingState->bindings) { if (binding.isOutput) @@ -1117,6 +1117,7 @@ public: } } } + fprintf(f, "test result. \n"); fclose(f); } }; |
