mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 17:06:25 +00:00
gles2: Whoops, overzealous copy/paste on my part. :)
This commit is contained in:
@@ -720,7 +720,7 @@ GLES2_TexSubImage2D(GLES2_DriverContext *data, GLenum target, GLint xoffset, GLi
|
|||||||
int y;
|
int y;
|
||||||
|
|
||||||
if ((width == 0) || (height == 0) || (bpp == 0)) {
|
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 */
|
/* Reformat the texture data into a tightly packed array */
|
||||||
|
Reference in New Issue
Block a user