Mercurial > hg > octave-nkf
changeset 19652:17f5db3a9149 gui-release
maint: Periodic merge of stable to gui-release.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 01 Jan 2015 18:51:50 -0800 |
parents | 50aedabe6bfb (current diff) 8dbd55742112 (diff) |
children | dec5b96ca298 17e6c770e6ac |
files | |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/__init_fltk__.cc +++ b/libinterp/dldfcn/__init_fltk__.cc @@ -929,7 +929,9 @@ void show_canvas (void) { - if (fp.is_visible ()) + if (! canvas->can_do ()) + error ("unable to plot due to insufficient OpenGL support"); + else if (fp.is_visible ()) { canvas->show (); canvas->make_current ();