Commit 0d31828f by Geoff Lang

Fixed shadowed error variable.

BUG=angleproject:886 Change-Id: I4224ba26fef6783d61a56c294da2bdb6596da7bc Reviewed-on: https://chromium-review.googlesource.com/267552Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 2d06b738
...@@ -57,7 +57,7 @@ gl::Error RenderbufferGL::setStorageMultisample(size_t samples, GLenum internalf ...@@ -57,7 +57,7 @@ gl::Error RenderbufferGL::setStorageMultisample(size_t samples, GLenum internalf
GLenum error = GL_NO_ERROR; GLenum error = GL_NO_ERROR;
do do
{ {
GLenum error = mFunctions->getError(); error = mFunctions->getError();
if (error == GL_OUT_OF_MEMORY) if (error == GL_OUT_OF_MEMORY)
{ {
return gl::Error(GL_OUT_OF_MEMORY); return gl::Error(GL_OUT_OF_MEMORY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment