Skip to content

Commit

Permalink
opengles2: removed useless memcpy.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 5, 2018
1 parent ef3d970 commit 6ecd0b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/render/opengles2/SDL_render_gles2.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6ecd0b2

Please sign in to comment.