forked from enlightenment/efl
evas: handle new API use correctly for gl_drm backend.
This commit is contained in:
parent
2ac0a755e1
commit
5e935a8ca9
|
@ -1114,7 +1114,6 @@ eng_image_native_shutdown(void *engine EINA_UNUSED, Evas_Native_Surface_Type typ
|
||||||
static void *
|
static void *
|
||||||
eng_image_native_set(void *engine, void *image, void *native)
|
eng_image_native_set(void *engine, void *image, void *native)
|
||||||
{
|
{
|
||||||
Render_Engine *re;
|
|
||||||
Outbuf *ob;
|
Outbuf *ob;
|
||||||
Native *n;
|
Native *n;
|
||||||
Evas_Native_Surface *ns;
|
Evas_Native_Surface *ns;
|
||||||
|
@ -1123,10 +1122,7 @@ eng_image_native_set(void *engine, void *image, void *native)
|
||||||
uint32_t texid;
|
uint32_t texid;
|
||||||
void *wlid, *wl_buf = NULL;
|
void *wlid, *wl_buf = NULL;
|
||||||
|
|
||||||
re = (Render_Engine *)engine;
|
ob = gl_generic_any_output_get(engine);
|
||||||
if (!re) return NULL;
|
|
||||||
|
|
||||||
ob = eng_get_ob(re);
|
|
||||||
if (!ob) return NULL;
|
if (!ob) return NULL;
|
||||||
|
|
||||||
ns = native;
|
ns = native;
|
||||||
|
|
Loading…
Reference in New Issue