]> git.mxchange.org Git - flightgear.git/blob - Simulator/Main/3dfx.sh
Initial revision.
[flightgear.git] / Simulator / Main / 3dfx.sh
1 #!/bin/sh
2
3 WINDOW=NO
4
5 if [ $WINDOW = "YES" ]; then
6     # in a window (slow hack)
7     export MESA_GLX_FX=window
8
9     export SST_VGA_PASS=1
10     export SST_NOSHUTDOWN=1
11 else 
12     # full screen
13     export MESA_GLX_FX=fullscreen
14
15     unset SST_VGA_PASS
16     unset SST_NOSHUTDOWN
17 fi
18
19 export FX_GLIDE_NO_SPLASH=1
20 export FX_GLIDE_SWAPINTERVAL=0
21
22 export SST_FASTMEM=1
23 export SST_FASTPCIRD=1
24 export SST_GRXCLK=57
25 export SST_GAMMA=1.0
26 export SST_SCREENREFRESH=60
27
28 # Enable this if you wand solid vswap - disable to measure speeds
29 export SST_SWAP_EN_WAIT_ON_VSYNC=0
30 # export SST_SWA_EN_WAIT_ON_VSYNC=1
31
32 echo executing $*
33
34 $*