mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 18:55:42 +00:00
gles2: Whoops, overzealous copy/paste on my part. :)
This commit is contained in:
parent
c8ac909674
commit
915a7e0341
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue