diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-03-01 17:37:33 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-03-01 17:37:33 +0100 |
commit | fd89246426e73cd8d0f85eeb4c2c6977facbb9bb (patch) | |
tree | c66295c37b9ec610ac1ac246b121f7bfa2da673b /package/sdl2/Config.in | |
parent | 5573ab458696a9aaffc28464dd9654b8c95a5815 (diff) | |
parent | 9a6c03a390872d7ce91b619fdaf1d674491ad8cb (diff) | |
download | buildroot-fd89246426e73cd8d0f85eeb4c2c6977facbb9bb.tar.gz buildroot-fd89246426e73cd8d0f85eeb4c2c6977facbb9bb.zip |
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/sdl2/Config.in')
-rw-r--r-- | package/sdl2/Config.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/sdl2/Config.in b/package/sdl2/Config.in index 8fc14ee737..a2971edc89 100644 --- a/package/sdl2/Config.in +++ b/package/sdl2/Config.in @@ -29,6 +29,24 @@ comment "X11 video driver needs X.org" depends on !BR2_PACKAGE_XORG7 depends on BR2_USE_MMU +config BR2_PACKAGE_SDL2_OPENGL + bool "OpenGL (GLX)" + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU # X11 video driver + select BR2_PACKAGE_SDL2_X11 + +comment "OpenGL support needs X11 and an OpenGL provider" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_SDL2_OPENGLES + bool "OpenGL ES" + depends on BR2_PACKAGE_HAS_LIBGLES + +comment "OpenGL ES support needs an OpenGL ES provider" + depends on !BR2_PACKAGE_HAS_LIBGLES + endif comment "sdl2 needs a toolchain w/ dynamic library" |