Commit 821f40a4 by Geoff Lang

Fix conversion to bool warning.

BUG=453543 Change-Id: I287cc3b6e86df71eb3dfa3c82316ae56950913b3 Reviewed-on: https://chromium-review.googlesource.com/245833Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 0fbd128c
...@@ -74,7 +74,7 @@ class ShaderExtensionTest : public testing::Test ...@@ -74,7 +74,7 @@ class ShaderExtensionTest : public testing::Test
{ {
DestroyCompiler(); DestroyCompiler();
mCompiler = ShConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, SH_GLSL_OUTPUT, &mResources); mCompiler = ShConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, SH_GLSL_OUTPUT, &mResources);
ASSERT_TRUE(mCompiler) << "Compiler could not be constructed."; ASSERT_TRUE(mCompiler != NULL) << "Compiler could not be constructed.";
} }
void TestShaderExtension(const char **shaderStrings, int stringCount, bool expectation) void TestShaderExtension(const char **shaderStrings, int stringCount, bool expectation)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment