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:
Jaehyun Cho 2014-05-28 14:29:22 +09:00 committed by ChunEon Park
parent b61b1c9412
commit bc446e37c1
1 changed files with 1 additions and 1 deletions

View File

@ -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,