commit | 0d31828f17e4b95248fcaa719dfc426ee81cbee7 | [log] [tgz] |
---|---|---|
author | Geoff Lang <geofflang@chromium.org> | Mon Apr 27 15:08:09 2015 -0400 |
committer | Geoff Lang <geofflang@chromium.org> | Mon Apr 27 19:42:17 2015 +0000 |
tree | f80f7b03d4298f4c7dbe499a6489fe9006249f08 | |
parent | 2d06b738a1155875f0faade76ec718116073bc00 [diff] [blame] |
Fixed shadowed error variable. BUG=angleproject:886 Change-Id: I4224ba26fef6783d61a56c294da2bdb6596da7bc Reviewed-on: https://chromium-review.googlesource.com/267552 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/renderer/gl/RenderbufferGL.cpp b/src/libANGLE/renderer/gl/RenderbufferGL.cpp index 823c0ea..dcfd7bb 100644 --- a/src/libANGLE/renderer/gl/RenderbufferGL.cpp +++ b/src/libANGLE/renderer/gl/RenderbufferGL.cpp
@@ -57,7 +57,7 @@ GLenum error = GL_NO_ERROR; do { - GLenum error = mFunctions->getError(); + error = mFunctions->getError(); if (error == GL_OUT_OF_MEMORY) { return gl::Error(GL_OUT_OF_MEMORY);