gles2: Whoops, overzealous copy/paste on my part. :)
authorRyan C. Gordon <icculus@icculus.org>
Mon, 25 Jun 2018 01:57:28 -0400
changeset 12034b3ae0dc577fd
parent 12033 bc702c5a7c3a
child 12035 1a7dec71e8e0
gles2: Whoops, overzealous copy/paste on my part. :)
src/render/opengles2/SDL_render_gles2.c
     1.1 --- a/src/render/opengles2/SDL_render_gles2.c	Sun Jun 24 22:42:36 2018 -0700
     1.2 +++ b/src/render/opengles2/SDL_render_gles2.c	Mon Jun 25 01:57:28 2018 -0400
     1.3 @@ -720,7 +720,7 @@
     1.4      int y;
     1.5  
     1.6      if ((width == 0) || (height == 0) || (bpp == 0)) {
     1.7 -        return;  /* nothing to do */
     1.8 +        return 0;  /* nothing to do */
     1.9      }
    1.10  
    1.11      /* Reformat the texture data into a tightly packed array */