summaryrefslogtreecommitdiff
path: root/fb/fbstipple.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb/fbstipple.c')
-rw-r--r--fb/fbstipple.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fb/fbstipple.c b/fb/fbstipple.c
index ce971481e..de8d1f814 100644
--- a/fb/fbstipple.c
+++ b/fb/fbstipple.c
@@ -155,7 +155,7 @@ fbEvenStipple (FbBits *dst,
/*
* Extract stipple bits for this scanline;
*/
- bits = *s;
+ bits = READ(s);
s += stipStride;
if (s == stipEnd)
s = stip;
@@ -199,12 +199,12 @@ fbEvenStipple (FbBits *dst,
n = nmiddle;
if (!and)
while (n--)
- *dst++ = xor;
+ WRITE(dst++, xor);
else
{
while (n--)
{
- *dst = FbDoRRop (*dst, and, xor);
+ WRITE(dst, FbDoRRop (READ(dst), and, xor));
dst++;
}
}