gles2: Whoops, overzealous copy/paste on my part. :)

This commit is contained in:
Ryan C. Gordon 2018-06-25 01:57:28 -04:00
parent c8ac909674
commit 915a7e0341

View File

@ -720,7 +720,7 @@ GLES2_TexSubImage2D(GLES2_DriverContext *data, GLenum target, GLint xoffset, GLi
int y;
if ((width == 0) || (height == 0) || (bpp == 0)) {
return; /* nothing to do */
return 0; /* nothing to do */
}
/* Reformat the texture data into a tightly packed array */