mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01: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 New Issue
Block a user