From 281fe7674c04cc9b5216a405a104abb14c9d1778 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 23 Mar 2016 23:18:05 +0000 Subject: Skip setting the pen in the RastPort if it is already set to that pen This captures the scenario when the RGBA value has changed but graphics.library has picked the same pen. --- amiga/plotters.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'amiga/plotters.h') diff --git a/amiga/plotters.h b/amiga/plotters.h index c6744740f..7baa21fb5 100644 --- a/amiga/plotters.h +++ b/amiga/plotters.h @@ -36,6 +36,8 @@ struct gui_globals bool palette_mapped; ULONG apen; ULONG open; + LONG apen_num; + LONG open_num; int width; /* size of bm and */ int height; /* associated memory */ }; -- cgit v1.2.3