Evas GL: Remove unnecessary check

We already checked that re->func.get_pixels wasn't NULL.
This commit is contained in:
Jean-Philippe ANDRE 2014-11-21 00:59:19 +09:00
parent 0482a0e686
commit 85b0992657
1 changed files with 31 additions and 35 deletions

View File

@ -821,9 +821,6 @@ eng_image_draw(void *data, void *context, void *surface, void *image, int src_x,
DBG("Rendering Directly to the window: %p", data);
gl_context->dc = context;
if (re->func.get_pixels)
{
if ((gl_context->master_clip.enabled) &&
(gl_context->master_clip.w > 0) &&
(gl_context->master_clip.h > 0))
@ -858,7 +855,6 @@ eng_image_draw(void *data, void *context, void *surface, void *image, int src_x,
// Reset direct rendering info
evgl_direct_info_clear();
}
}
else
{
evas_gl_common_context_target_surface_set(gl_context, surface);