Removed an unnecessary call.

TRAC #13792 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@462 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 4c5142c6
...@@ -1271,7 +1271,6 @@ void Texture2D::copyImage(GLint level, GLenum internalFormat, GLint x, GLint y, ...@@ -1271,7 +1271,6 @@ void Texture2D::copyImage(GLint level, GLenum internalFormat, GLint x, GLint y,
if (!isRenderableFormat()) if (!isRenderableFormat())
{ {
needRenderTarget();
copyNonRenderable(&mImageArray[level], internalFormat, 0, 0, x, y, width, height, renderTarget); copyNonRenderable(&mImageArray[level], internalFormat, 0, 0, x, y, width, height, renderTarget);
} }
else else
......
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