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:
Daniel Kolesa 2020-06-11 15:14:03 +02:00
parent 6ff0241706
commit 35ca2cbd06
1 changed files with 5 additions and 5 deletions

View File

@ -16,10 +16,7 @@ endif
have_gl_engine = false
if get_option('opengl') != 'none'
engines += [
['gl_x11', ['x11']],
['gl_drm', ['drm']]
]
engines += [['gl_x11', ['x11']]]
have_gl_engine = true
endif
@ -29,7 +26,10 @@ if get_option('opengl') == 'full'
endif
if get_option('opengl') == 'es-egl'
engines += [['wayland_egl', ['wl']]]
engines += [
['wayland_egl', ['wl']],
['gl_drm', ['drm']]
]
have_gl_engine = true
endif