opengles2: removed useless memcpy.

--HG--
branch : SDL-ryan-batching-renderer
This commit is contained in:
Ryan C. Gordon 2018-10-04 21:10:42 -04:00
parent 3b9a14d823
commit 41007ab39f

View file

@ -978,7 +978,6 @@ SetDrawState(GLES2_RenderData *data, const SDL_RenderCommand *cmd, const GLES2_I
data->glScissor(viewport->x + rect->x,
data->drawstate.target ? viewport->y + rect->y : data->drawstate.drawableh - viewport->y - rect->y - rect->h,
rect->w, rect->h);
SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect));
data->drawstate.cliprect_dirty = SDL_FALSE;
}