Evas GL: Remove unnecessary check
We already checked that re->func.get_pixels wasn't NULL.
This commit is contained in:
parent
0482a0e686
commit
85b0992657
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue