mirror of https://github.com/encounter/SDL.git
Enable Raspberry Pi video by default
This commit is contained in:
parent
e681623cb2
commit
51555a85cc
|
@ -1626,7 +1626,7 @@ Optional Features:
|
||||||
QtWayland server support for Wayland video driver
|
QtWayland server support for Wayland video driver
|
||||||
[[default=yes]]
|
[[default=yes]]
|
||||||
--enable-wayland-shared dynamically load Wayland support [[default=maybe]]
|
--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-video-x11 use X11 video driver [[default=yes]]
|
||||||
--enable-x11-shared dynamically load X11 support [[default=maybe]]
|
--enable-x11-shared dynamically load X11 support [[default=maybe]]
|
||||||
--enable-video-x11-xcursor
|
--enable-video-x11-xcursor
|
||||||
|
@ -19734,7 +19734,7 @@ CheckRPI()
|
||||||
if test "${enable_video_rpi+set}" = set; then :
|
if test "${enable_video_rpi+set}" = set; then :
|
||||||
enableval=$enable_video_rpi;
|
enableval=$enable_video_rpi;
|
||||||
else
|
else
|
||||||
enable_video_rpi=no
|
enable_video_rpi=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
|
||||||
|
|
|
@ -1550,8 +1550,8 @@ CheckNativeClient()
|
||||||
CheckRPI()
|
CheckRPI()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-rpi,
|
AC_ARG_ENABLE(video-rpi,
|
||||||
AS_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [[default=no]]]),
|
AS_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [[default=yes]]]),
|
||||||
, enable_video_rpi=no)
|
, enable_video_rpi=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
|
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)
|
PKG_CHECK_MODULES([RPI], [bcm_host brcmegl], video_rpi=yes, video_rpi=no)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue