Mercurial > octave
diff libgui/graphics/GLCanvas.cc @ 26617:98afb8bbd1f6 stable
maint: Strip trailing whitespace from source files.
* NEWS, GLCanvas.cc, dialog.cc, error.cc, ft-text-renderer.cc,
sysdep.cc, utils.cc, pt-jit.cc, oct-rl-hist.c, makeUniqueStrings.m,
randi.m, waitbar.m, clearvars.m, sqp.m, fplot.m, openfig.m,
__print_parse_opts__.m, octave-svgconvert.cc: Strip trailing whitespace.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 24 Jan 2019 19:18:51 +0000 |
parents | 00f796120a6d |
children | 992f55ef87f5 e6bc258df691 |
line wrap: on
line diff
--- a/libgui/graphics/GLCanvas.cc Thu Jan 24 19:06:40 2019 +0000 +++ b/libgui/graphics/GLCanvas.cc Thu Jan 24 19:18:51 2019 +0000 @@ -140,11 +140,11 @@ if (obj.valid_object ()) { graphics_object figObj (obj.get_ancestor ("figure")); - + // Make sure we have a valid current context if (! begin_rendering ()) error ("print: no valid OpenGL offscreen context"); - + try { octave::gl2ps_print (m_glfcns, figObj, file_cmd.toStdString (), @@ -154,7 +154,7 @@ { octave_link::post_exception (std::current_exception ()); } - + end_rendering (); } }