| Index: gpu/command_buffer/client/gles2_demo_cc.cc
|
| ===================================================================
|
| --- gpu/command_buffer/client/gles2_demo_cc.cc (revision 67327)
|
| +++ gpu/command_buffer/client/gles2_demo_cc.cc (working copy)
|
| @@ -47,7 +47,7 @@
|
| // Compile the shader
|
| glCompileShader(shader);
|
| // Check the compile status
|
| - GLint value = 0;
|
| + GLint value;
|
| glGetShaderiv(shader, GL_COMPILE_STATUS, &value);
|
| if (value == 0) {
|
| char buffer[1024];
|
| @@ -100,7 +100,7 @@
|
| // Link the program
|
| glLinkProgram(programObject);
|
| // Check the link status
|
| - GLint linked = 0;
|
| + GLint linked;
|
| glGetProgramiv(programObject, GL_LINK_STATUS, &linked);
|
| if (linked == 0) {
|
| char buffer[1024];
|
|
|