Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:07:02 -0000
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346276 - head/lib/libvgl
Message-ID:  <201904161428.x3GESYT0035247@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904161428.x3GESYT0035247>