Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gles2: Whoops, overzealous copy/paste on my part. :)
  • Loading branch information
icculus committed Jun 25, 2018
1 parent c8ac909 commit 915a7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/opengles2/SDL_render_gles2.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 915a7e0

Please sign in to comment.