Mercurial > octave-libtiff
changeset 27170:7206b8c222eb
Use framebuffer object for printing invisible Qt figures (bug #55268)
* GLCanvas.cc (GLCanvas::do_print): Use FBO on all platforms.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Mon, 10 Jun 2019 20:45:25 +0200 |
parents | 031a3c85ddb7 |
children | 196dfb42f3e9 |
files | libgui/graphics/GLCanvas.cc |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/graphics/GLCanvas.cc Mon Jun 10 20:43:10 2019 +0200 +++ b/libgui/graphics/GLCanvas.cc Mon Jun 10 20:45:25 2019 +0200 @@ -147,7 +147,6 @@ try { -#if defined (Q_OS_MAC) if (fig.get ("visible").string_value () == "on") octave::gl2ps_print (m_glfcns, fig, file_cmd.toStdString (), term.toStdString ()); @@ -171,10 +170,6 @@ fbo.release (); } -#else - octave::gl2ps_print (m_glfcns, fig, file_cmd.toStdString (), - term.toStdString ()); -#endif } catch (octave::execution_exception& e) {