ANDROID: Cleanup
This commit is contained in:
parent
1b0d4724f4
commit
f639466ab2
2 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue