changeset 24820:735175432a20

getframe.m: update %!test for new offscreen system (bug #53186)
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Fri, 02 Mar 2018 13:46:45 +0100
parents bdec5e695ec3
children 88665923596c
files scripts/image/getframe.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/getframe.m	Thu Mar 01 20:53:29 2018 -0800
+++ b/scripts/image/getframe.m	Fri Mar 02 13:46:45 2018 +0100
@@ -162,7 +162,7 @@
 %! image (frame.cdata);
 %! title ("Lower left hand corner");
 
-%!testif HAVE_OSMESA <44338>
+%!testif HAVE_QOFFSCREENSURFACE
 %! hf = figure ("visible", "off");
 %! unwind_protect
 %!   pos = get (hf, "position");
@@ -171,7 +171,7 @@
 %!   close (hf);
 %! end_unwind_protect
 
-%!testif HAVE_OSMESA <44338>
+%!testif HAVE_QOFFSCREENSURFACE
 %! hf = figure ("visible", "off");
 %! unwind_protect
 %!   hax = axes ("visible", "off", "position", [0 0 1 1]);