Index: client/deps/glbench/src/textureupdatetest.cc |
diff --git a/client/deps/glbench/src/textureupdatetest.cc b/client/deps/glbench/src/textureupdatetest.cc |
index 2bc676b5a16c57f24351c7589de37b08b73dded6..c875ec7abdad1fa015bb1f675ec67aa14099fd3c 100644 |
--- a/client/deps/glbench/src/textureupdatetest.cc |
+++ b/client/deps/glbench/src/textureupdatetest.cc |
@@ -133,8 +133,10 @@ bool TextureUpdateTest::Run() { |
std::string name = "mtexel_sec_" + flavor_names[f] + "_" + |
IntToString(sizes[i]); |
width_ = height_ = sizes[i]; |
- for (int i = 0; i < kNumberOfTextures; ++i) |
+ for (int i = 0; i < kNumberOfTextures; ++i) { |
pixels_[i].reset(new char[width_ * height_]); |
+ memset(pixels_[i].get(), 255, width_ * height_); |
+ } |
RunTest(this, name.c_str(), width_ * height_, true); |
} |
} |