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);