software_generic: fix eng_image_native_get

This has been a stub for a long time, but now we have a native_set, so
we should have a native_get too.

This is required for hw plane usage on the software engine.
This commit is contained in:
Derek Foreman 2017-06-29 17:12:01 -05:00
parent c0e4a218dd
commit dc3873c8db
1 changed files with 7 additions and 2 deletions

View File

@ -1193,9 +1193,14 @@ eng_image_native_set(void *data EINA_UNUSED, void *image, void *native)
}
static void *
eng_image_native_get(void *data EINA_UNUSED, void *image EINA_UNUSED)
eng_image_native_get(void *data EINA_UNUSED, void *image)
{
return NULL;
RGBA_Image *im = image;
Evas_Native_Surface *n;
if (!im) return NULL;
n = im->native.data;
return n;
}
static void *