From 24bb5562dc52615862a547ffb1b8a506ecd158e3 Mon Sep 17 00:00:00 2001 From: "YONGH\\yongh" Date: Wed, 25 Oct 2017 20:35:57 -0400 Subject: test --- tools/render-test/render-d3d11.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } }; -- cgit v1.2.3