forked from enlightenment/efl
evas_gl_rectangle: Remove unnecessary conditional expression
Summary: The comparison gc->dc with NULL is not necessary. So the unnecessary conditional expression is removed. Reviewers: Hermet CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D909
This commit is contained in:
parent
b61b1c9412
commit
bc446e37c1
|
@ -20,7 +20,7 @@ evas_gl_common_rect_draw(Evas_Engine_GL_Context *gc, int x, int y, int w, int h)
|
|||
evas_common_draw_context_clip_clip(gc->dc, 0, 0, gc->shared->w, gc->shared->h);
|
||||
/* no cutouts - cut right to the chase */
|
||||
|
||||
if ((gc->dc) && (gc->dc->clip.use))
|
||||
if (gc->dc->clip.use)
|
||||
{
|
||||
RECTS_CLIP_TO_RECT(x, y, w, h,
|
||||
gc->dc->clip.x, gc->dc->clip.y,
|
||||
|
|
Loading…
Reference in New Issue