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.
This commit is contained in:
parent
0135283d1b
commit
9db56319d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346276
@ -515,7 +515,7 @@ VGLClear(VGLBitmap *object, u_long color)
|
|||||||
for (i = 0; i < object->VXsize; i++)
|
for (i = 0; i < object->VXsize; i++)
|
||||||
bcopy(&color, src.Bitmap + i * object->PixelBytes, object->PixelBytes);
|
bcopy(&color, src.Bitmap + i * object->PixelBytes, object->PixelBytes);
|
||||||
for (i = 0; i < object->VYsize; i++)
|
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;
|
break;
|
||||||
|
|
||||||
case VIDBUF8X:
|
case VIDBUF8X:
|
||||||
|
Loading…
Reference in New Issue
Block a user