mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 05:10:34 +05:00
togl with indirct rendering
This commit is contained in:
parent
e27dfe3307
commit
e0b71dc5b4
@ -9,9 +9,9 @@ set oldmousey 0
|
|||||||
# if { 1 } {
|
# if { 1 } {
|
||||||
|
|
||||||
# use this one for Togl 2.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 false -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
|
pack .ndraw -expand true -fill both -padx 10 -pady 10
|
||||||
|
Loading…
Reference in New Issue
Block a user