aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/texture.cpp
diff options
context:
space:
mode:
authordhewg2011-03-04 21:30:53 +0100
committerdhewg2011-03-04 21:36:48 +0100
commitf639466ab2417cb8b6052b362b7d624ea739fc8b (patch)
tree0986e2b185c3f8a652445c69e6aa09309e6f2bd1 /backends/platform/android/texture.cpp
parent1b0d4724f4526e1fccec3d457be72eb911908a90 (diff)
downloadscummvm-rg350-f639466ab2417cb8b6052b362b7d624ea739fc8b.tar.gz
scummvm-rg350-f639466ab2417cb8b6052b362b7d624ea739fc8b.tar.bz2
scummvm-rg350-f639466ab2417cb8b6052b362b7d624ea739fc8b.zip
ANDROID: Cleanup
Diffstat (limited to 'backends/platform/android/texture.cpp')
-rw-r--r--backends/platform/android/texture.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/backends/platform/android/texture.cpp b/backends/platform/android/texture.cpp
index fb9f3bb913..7d87c144c9 100644
--- a/backends/platform/android/texture.cpp
+++ b/backends/platform/android/texture.cpp
@@ -175,9 +175,6 @@ void GLESTexture::updateBuffer(GLuint x, GLuint y, GLuint w, GLuint h,
} else {
// GLES removed the ability to specify pitch, so we
// have to do this ourselves.
- if (h == 0)
- return;
-
#if TEXSUBIMAGE_IS_EXPENSIVE
byte *tmp = new byte[w * h * bytesPerPixel()];
assert(tmp);