#!/bin/sh

# harscened
#
# helper script to start harscened-ogl (if existent
# and current display supports GLX extension)
# or harscened-mesa otherwise
# (fgrep quiet-flag machine-dependent; either -q or -s)
#
# created: mpichler, 19951205


# if [ -f harscened-ogl ]
# then
  if  xdpyinfo | fgrep GLX >/dev/null
  then
    exec harscened-ogl ${1+"$@"}
  fi
# fi

# else:
exec harscened-mesa ${1+"$@"}
