aboutsummaryrefslogtreecommitdiff
path: root/lib/libvgl
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2019-03-28 09:51:37 +0000
committerBruce Evans <bde@FreeBSD.org>2019-03-28 09:51:37 +0000
commitfa68d9b94e46cfcd88bdb7a6a8dd8fb2eeb54a01 (patch)
tree91cc4f7ef491ecb27d690abd5f64d5939773f303 /lib/libvgl
parentb55bfda75cde210173d38c6c2f3a37f4436fa756 (diff)
Notes
Diffstat (limited to 'lib/libvgl')
-rw-r--r--lib/libvgl/simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libvgl/simple.c b/lib/libvgl/simple.c
index 6910dd2599d0..a21c917aeb84 100644
--- a/lib/libvgl/simple.c
+++ b/lib/libvgl/simple.c
@@ -556,8 +556,8 @@ VGLClear(VGLBitmap *object, u_long color)
VGLSetSegment(offset);
len = min(total - offset, VGLAdpInfo.va_window_size);
for (i = 0; i < len; i += object->PixelBytes)
- bcopy(object->Bitmap + (offset + i) % VGLAdpInfo.va_window_size, b,
- object->PixelBytes);
+ bcopy(b, object->Bitmap + (offset + i) % VGLAdpInfo.va_window_size,
+ object->PixelBytes);
offset += len;
}
break;