Revert copyImage changes from r682 as they cause regressions on some webpages
git-svn-id: https://angleproject.googlecode.com/svn/trunk@684 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/common/version.h b/src/common/version.h
index c2de131..93aa20f 100644
--- a/src/common/version.h
+++ b/src/common/version.h
@@ -1,7 +1,7 @@
#define MAJOR_VERSION 0
#define MINOR_VERSION 0
#define BUILD_VERSION 0
-#define BUILD_REVISION 683
+#define BUILD_REVISION 684
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
diff --git a/src/libGLESv2/Texture.cpp b/src/libGLESv2/Texture.cpp
index c87f652..bb4c4b8 100644
--- a/src/libGLESv2/Texture.cpp
+++ b/src/libGLESv2/Texture.cpp
@@ -1488,6 +1488,8 @@
{
convertToRenderTarget();
}
+
+ updateTexture();
if (width != 0 && height != 0 && level < levelCount())
{
@@ -2354,6 +2356,8 @@
{
convertToRenderTarget();
}
+
+ updateTexture();
ASSERT(width == height);