mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
no indirect OpenGL rendering
This commit is contained in:
parent
e885bb7708
commit
4919b41124
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user