1
0
Fork 0
flightgear/Simulator/Main/3dfx.sh
1999-04-05 21:32:32 +00:00

34 lines
612 B
Bash
Executable file

#!/bin/sh
WINDOW=NO
if [ $WINDOW = "YES" ]; then
# in a window (slow hack)
export MESA_GLX_FX=window
export SST_VGA_PASS=1
export SST_NOSHUTDOWN=1
else
# full screen
export MESA_GLX_FX=fullscreen
unset SST_VGA_PASS
unset SST_NOSHUTDOWN
fi
export FX_GLIDE_NO_SPLASH=1
export FX_GLIDE_SWAPINTERVAL=0
export SST_FASTMEM=1
export SST_FASTPCIRD=1
export SST_GRXCLK=57
export SST_GAMMA=1.0
export SST_SCREENREFRESH=60
# Enable this if you wand solid vswap - disable to measure speeds
export SST_SWAP_EN_WAIT_ON_VSYNC=0
# export SST_SWA_EN_WAIT_ON_VSYNC=1
echo executing $*
$*