diff options
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); } }; |
