opengles2: removed useless memcpy. SDL-ryan-batching-renderer
authorRyan C. Gordon <icculus@icculus.org>
Thu, 04 Oct 2018 21:10:42 -0400
branchSDL-ryan-batching-renderer
changeset 12297d1a491c3ad17
parent 12295 96b57a48057c
child 12300 5d5d45f82f28
opengles2: removed useless memcpy.
src/render/opengles2/SDL_render_gles2.c
     1.1 --- a/src/render/opengles2/SDL_render_gles2.c	Thu Oct 04 20:22:28 2018 -0400
     1.2 +++ b/src/render/opengles2/SDL_render_gles2.c	Thu Oct 04 21:10:42 2018 -0400
     1.3 @@ -978,7 +978,6 @@
     1.4          data->glScissor(viewport->x + rect->x,
     1.5                          data->drawstate.target ? viewport->y + rect->y : data->drawstate.drawableh - viewport->y - rect->y - rect->h,
     1.6                          rect->w, rect->h);
     1.7 -        SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect));
     1.8          data->drawstate.cliprect_dirty = SDL_FALSE;
     1.9      }
    1.10