diff --git a/lib/libvgl/simple.c b/lib/libvgl/simple.c index 91552bbc9ec1..d4ffaed782ad 100644 --- a/lib/libvgl/simple.c +++ b/lib/libvgl/simple.c @@ -496,7 +496,7 @@ VGLClear(VGLBitmap *object, u_long color) for (i = 0; i < object->VXsize; i++) bcopy(&color, src.Bitmap + i * object->PixelBytes, object->PixelBytes); for (i = 0; i < object->VYsize; i++) - __VGLBitmapCopy(&src, 0, 0, object, 0, i, object->VXsize, 1); + __VGLBitmapCopy(&src, 0, 0, object, 0, i, object->VXsize, -1); break; case VIDBUF8X: