config/graphic: set some more defaults

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-02-02 14:33:08 +01:00
parent bbf165a383
commit f5bbd9baf6

View File

@ -3,9 +3,11 @@ ALSA_SUPPORT="yes"
if [ "$OPENGL" = no ]; then
OPENGL_SUPPORT="no"
XORG_SUPPORT="no"
SDL_SUPPORT="no"
else
OPENGL_SUPPORT="yes"
XORG_SUPPORT="yes"
SDL_SUPPORT="yes"
fi
if [ "$OPENGLES" = no ]; then
@ -14,6 +16,16 @@ else
OPENGLES_SUPPORT="yes"
fi
if [ "$SDL_SUPPORT" = no ]; then
JOYSTICK_SUPPORT="no"
fi
if [ "$OPENGL_SUPPORT" = no ]; then
XBMC_SCR_RSXS="no"
XBMC_VIS_PROJECTM="no"
XBMC_VIS_GOOM="no"
fi
get_graphicdrivers() {
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx nvidia vmware virtualbox"