summaryrefslogtreecommitdiff
path: root/amiga/plotters.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-03-23 23:18:05 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-03-23 23:18:05 +0000
commit281fe7674c04cc9b5216a405a104abb14c9d1778 (patch)
treee387e70b97b57a172318ab92cb89595653f05cbc /amiga/plotters.h
parent0368935cd31fd08b6383f3941c1f64ecb4c9ef90 (diff)
downloadnetsurf-281fe7674c04cc9b5216a405a104abb14c9d1778.tar.gz
netsurf-281fe7674c04cc9b5216a405a104abb14c9d1778.tar.bz2
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.
Diffstat (limited to 'amiga/plotters.h')
-rw-r--r--amiga/plotters.h2
1 files changed, 2 insertions, 0 deletions
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 */
};