ANDROID: Cleanup

This commit is contained in:
dhewg 2011-03-04 21:30:53 +01:00
parent 1b0d4724f4
commit f639466ab2
2 changed files with 2 additions and 5 deletions

View file

@ -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);