forked from enlightenment/efl
modules: only build gl_drm evas engine when using es-egl
This module does not work with desktop opengl contexts, and needs EGL to work.
This commit is contained in:
parent
f5d371d6ec
commit
2620295542
|
@ -16,10 +16,7 @@ endif
|
||||||
have_gl_engine = false
|
have_gl_engine = false
|
||||||
|
|
||||||
if get_option('opengl') != 'none'
|
if get_option('opengl') != 'none'
|
||||||
engines += [
|
engines += [['gl_x11', ['x11']]]
|
||||||
['gl_x11', ['x11']],
|
|
||||||
['gl_drm', ['drm']]
|
|
||||||
]
|
|
||||||
have_gl_engine = true
|
have_gl_engine = true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -29,7 +26,10 @@ if get_option('opengl') == 'full'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('opengl') == 'es-egl'
|
if get_option('opengl') == 'es-egl'
|
||||||
engines += [['wayland_egl', ['wl']]]
|
engines += [
|
||||||
|
['wayland_egl', ['wl']],
|
||||||
|
['gl_drm', ['drm']]
|
||||||
|
]
|
||||||
have_gl_engine = true
|
have_gl_engine = true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue