/usr/share/xcrysden/Tcl/stereo.tcl is in xcrysden-data 1.5.60-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | proc check_stereo {} {
global stereo_visual
set togl [togl [WidgetName .] -stereo true \
-rgba true \
-redsize 1 \
-greensize 1 \
-bluesize 1 \
-double true \
-depth true \
-depthsize 1 \
-accum true \
-accumredsize 1 \
-accumgreensize 1 \
-accumbluesize 1 \
-accumalphasize 1 \
-alpha false \
-alphasize 1 \
-stencil false \
-stencilsize 1 \
-auxbuffers 0 \
-overlay false]
pack $togl
update
set stereo [lindex [$togl configure -stereo] end]
#set stereo [xc_stereo]
if { $stereo } {
set stereo_visual true
} else {
set stereo_visual false
}
destroy $togl
}
|