summaryrefslogtreecommitdiffstats
path: root/tools/render-test
diff options
context:
space:
mode:
authorYONGH\yongh <yonghe@outlook.com>2017-10-25 20:35:57 -0400
committerYONGH\yongh <yonghe@outlook.com>2017-10-25 20:35:57 -0400
commit24bb5562dc52615862a547ffb1b8a506ecd158e3 (patch)
treec1c417be20c181718ef6c262e81ebcd6323904ae /tools/render-test
parent23e3217bb375fd08b2cd41063e772ad798bb0264 (diff)
test
Diffstat (limited to 'tools/render-test')
-rw-r--r--tools/render-test/render-d3d11.cpp3
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);
}
};