opengles2: removed useless memcpy.
parent
ef3d970ace
commit
6ecd0b2c35
|
@ -978,7 +978,6 @@ SetDrawState(GLES2_RenderData *data, const SDL_RenderCommand *cmd, const GLES2_I
|
||||||
data->glScissor(viewport->x + rect->x,
|
data->glScissor(viewport->x + rect->x,
|
||||||
data->drawstate.target ? viewport->y + rect->y : data->drawstate.drawableh - viewport->y - rect->y - rect->h,
|
data->drawstate.target ? viewport->y + rect->y : data->drawstate.drawableh - viewport->y - rect->y - rect->h,
|
||||||
rect->w, rect->h);
|
rect->w, rect->h);
|
||||||
SDL_memcpy(&data->drawstate.cliprect, rect, sizeof (SDL_Rect));
|
|
||||||
data->drawstate.cliprect_dirty = SDL_FALSE;
|
data->drawstate.cliprect_dirty = SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue