Commit 04c68600 by Jamie Madill

Fix unused variable in validationES.cpp.

Broken in 560a8d88. BUG=angle:571 Change-Id: Idb2414e11ad397cc45c2bdf5f357fd1b8e7fe6c2 Reviewed-on: https://chromium-review.googlesource.com/202602Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 560a8d88
...@@ -1140,8 +1140,6 @@ bool ValidateCopyTexImageParametersBase(gl::Context* context, GLenum target, GLi ...@@ -1140,8 +1140,6 @@ bool ValidateCopyTexImageParametersBase(gl::Context* context, GLenum target, GLi
return gl::error(GL_INVALID_OPERATION, false); return gl::error(GL_INVALID_OPERATION, false);
} }
gl::Renderbuffer *source = framebuffer->getReadColorbuffer();
GLenum colorbufferInternalFormat = source->getInternalFormat();
gl::Texture *texture = NULL; gl::Texture *texture = NULL;
GLenum textureInternalFormat = GL_NONE; GLenum textureInternalFormat = GL_NONE;
bool textureCompressed = false; bool textureCompressed = false;
......
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