From 4919b411242fd2a5abaeab18ebf101e6fcddc974 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Thu, 16 Oct 2014 22:11:20 +0000 Subject: [PATCH] no indirect OpenGL rendering --- ng/drawing.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng/drawing.tcl b/ng/drawing.tcl index 0d27944a..1d75e0c1 100644 --- a/ng/drawing.tcl +++ b/ng/drawing.tcl @@ -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