gpu: Fix range[2] initializion lists
BUG=none
Review URL: https://chromiumcodereview.appspot.com/13050003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201225 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index d7665f9..b2aa5a1b 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2506,7 +2506,7 @@
resources.MaxDrawBuffers = group_->max_draw_buffers();
#if (ANGLE_SH_VERSION >= 110)
- GLint range[2];
+ GLint range[2] = { 0, 0 };
GLint precision = 0;
GetShaderPrecisionFormatImpl(GL_FRAGMENT_SHADER, GL_HIGH_FLOAT,
range, &precision);
@@ -8549,7 +8549,7 @@
result->success = 1; // true
- GLint range[2] = {0, 0};
+ GLint range[2] = { 0, 0 };
GLint precision = 0;
GetShaderPrecisionFormatImpl(shader_type, precision_type, range, &precision);