summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-27 07:21:31 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-27 07:21:31 +0000
commit8c809a36b0ba392460822306392ee0b1be2e84c8 (patch)
treeee787aa2c5200bdf2b4526e00b6b59a0756fcee0 /gpu/command_buffer/client
parent51330b3a08d845da9815b843e020833e62577828 (diff)
downloadchromium_src-8c809a36b0ba392460822306392ee0b1be2e84c8.zip
chromium_src-8c809a36b0ba392460822306392ee0b1be2e84c8.tar.gz
chromium_src-8c809a36b0ba392460822306392ee0b1be2e84c8.tar.bz2
Try again.
It sure would be nice if the trybots caught these issues :-( TBR=apatrick@chromium.org TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client')
-rw-r--r--gpu/command_buffer/client/gles2_demo_cc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/gles2_demo_cc.cc b/gpu/command_buffer/client/gles2_demo_cc.cc
index ea20b38..d5cbbdd 100644
--- a/gpu/command_buffer/client/gles2_demo_cc.cc
+++ b/gpu/command_buffer/client/gles2_demo_cc.cc
@@ -99,7 +99,7 @@ void InitShaders() {
glGetProgramiv(programObject, GL_LINK_STATUS, &linked);
if (linked == 0) {
char buffer[1024];
- GLsizei length;
+ GLsizei length = 0;
glGetProgramInfoLog(programObject, sizeof(buffer), &length, buffer);
std::string log(buffer, length);
DLOG(ERROR) << "Error linking program:" << log;