Enable Raspberry Pi video by default

This commit is contained in:
Sam Lantinga 2019-06-21 10:58:30 -07:00
parent e681623cb2
commit 51555a85cc
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -1626,7 +1626,7 @@ Optional Features:
QtWayland server support for Wayland video driver
[[default=yes]]
--enable-wayland-shared dynamically load Wayland support [[default=maybe]]
--enable-video-rpi use Raspberry Pi video driver [[default=no]]
--enable-video-rpi use Raspberry Pi video driver [[default=yes]]
--enable-video-x11 use X11 video driver [[default=yes]]
--enable-x11-shared dynamically load X11 support [[default=maybe]]
--enable-video-x11-xcursor
@ -19734,7 +19734,7 @@ CheckRPI()
if test "${enable_video_rpi+set}" = set; then :
enableval=$enable_video_rpi;
else
enable_video_rpi=no
enable_video_rpi=yes
fi
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then

View File

@ -1550,8 +1550,8 @@ CheckNativeClient()
CheckRPI()
{
AC_ARG_ENABLE(video-rpi,
AS_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [[default=no]]]),
, enable_video_rpi=no)
AS_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [[default=yes]]]),
, enable_video_rpi=yes)
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
PKG_CHECK_MODULES([RPI], [bcm_host brcmegl], video_rpi=yes, video_rpi=no)