Commit 57a2cd65 by apatrick@chromium.org

Purge associated render buffer object when texture is resized.

Similar fix for cube maps to follow. Review URL: http://codereview.appspot.com/4532124 git-svn-id: https://angleproject.googlecode.com/svn/trunk@678 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 837dd9ab
......@@ -1367,6 +1367,8 @@ void Texture2D::redefineTexture(GLint level, GLenum format, GLsizei width, GLsiz
mSurface->setBoundTexture(NULL);
mSurface = NULL;
}
mColorbufferProxy.set(NULL);
}
}
......
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