forked from enlightenment/efl
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:
parent
c0e4a218dd
commit
dc3873c8db
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue