opengles2: removed useless memcpy.

Ryan C. Gordon 2018-10-04 21:10:42 -04:00
parent ef3d970ace
commit 6ecd0b2c35
1 changed files with 0 additions and 1 deletions

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;
}