cleanup: do no longer use deprecated Alpha channel from Shader diffuse color (use...
[blender.git] / release / bin / blender-softwaregl
1 #!/bin/sh
2 BF_DIST_BIN=$(dirname "$0")
3 BF_PROGRAM="blender" # BF_PROGRAM=$(basename "$0")-bin
4
5 LD_LIBRARY_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH}
6
7 if [ -n "$LD_LIBRARYN32_PATH" ]; then
8     LD_LIBRARYN32_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARYN32_PATH}
9 fi
10 if [ -n "$LD_LIBRARYN64_PATH" ]; then
11     LD_LIBRARYN64_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARYN64_PATH}
12 fi
13 if [ -n "$LD_LIBRARY_PATH_64" ]; then
14     LD_LIBRARY_PATH_64=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH_64}
15 fi
16
17 # Workaround for half-transparent windows when compiz is enabled
18 XLIB_SKIP_ARGB_VISUALS=1
19
20 export LD_LIBRARY_PATH LD_LIBRARYN32_PATH LD_LIBRARYN64_PATH LD_LIBRARY_PATH_64 LD_PRELOAD XLIB_SKIP_ARGB_VISUALS
21
22 exec "$BF_DIST_BIN/$BF_PROGRAM" ${1+"$@"}