no indirect OpenGL rendering

This commit is contained in:
Joachim Schoeberl 2014-10-16 22:11:20 +00:00
parent e885bb7708
commit 4919b41124

View File

@ -11,7 +11,7 @@ set oldmousey 0
# use this one for Togl 2.0
# if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true -create init -display draw -reshape reshape }] } {
if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true }] } { puts "no OpenGL"
if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect false }] } { puts "no OpenGL"
} {
#
pack .ndraw -expand true -fill both -padx 10 -pady 10