octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44916] Printing Qt-drawn figures produces fau


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #44916] Printing Qt-drawn figures produces faulty files
Date: Wed, 06 May 2015 04:20:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #30, bug #44916 (project octave):

Could someone who is able to reproduce this bug please try the following
version:

http://jweaton.org/octave-2015-05-06-00-01.zip

It was built with this change in an attempt to enable software rendering:


diff --git a/libgui/graphics/GLCanvas.cc b/libgui/graphics/GLCanvas.cc
--- a/libgui/graphics/GLCanvas.cc
+++ b/libgui/graphics/GLCanvas.cc
@@ -38,7 +38,8 @@ namespace QtHandles
 {
 
 GLCanvas::GLCanvas (QWidget* xparent, const graphics_handle& gh)
-  : QGLWidget (QGLFormat(QGL::SampleBuffers), xparent), Canvas (gh)
+  : QGLWidget (QGLFormat (QGL::SampleBuffers | QGL::IndirectRendering),
+               xparent), Canvas (gh)
 {
   setFocusPolicy (Qt::ClickFocus);
 }



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44916>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]