diff --git a/config/graphic b/config/graphic index e9f359fba3..e7dd040ea3 100644 --- a/config/graphic +++ b/config/graphic @@ -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"