From f639466ab2417cb8b6052b362b7d624ea739fc8b Mon Sep 17 00:00:00 2001 From: dhewg Date: Fri, 4 Mar 2011 21:30:53 +0100 Subject: ANDROID: Cleanup --- backends/platform/android/texture.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'backends/platform/android/texture.cpp') 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); -- cgit v1.2.3