Author: bde
Date: Tue Apr 16 14:28:33 2019
New Revision: 346276
URL: https://svnweb.freebsd.org/changeset/base/346276
Log:
Fix a variable name in r346215. Clearing of the right of the screen was
broken, except it worked accidentally in most cases where the virtual
screen is larger than the physical screen.
Modified:
head/lib/libvgl/simple.c
Modified: head/lib/libvgl/simple.c
==============================================================================
--- head/lib/libvgl/simple.c Tue Apr 16 14:07:14 2019 (r346275)
+++ head/lib/libvgl/simple.c Tue Apr 16 14:28:33 2019 (r346276)
@@ -515,7 +515,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->VYsize, 1);
+ __VGLBitmapCopy(&src, 0, 0, object, 0, i, object->VXsize, 1);
break;
case VIDBUF8X:
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"