svn commit: r346279 - head/lib/libvgl

Bruce Evans bde at FreeBSD.org
Tue Apr 16 15:41:47 UTC 2019


Author: bde
Date: Tue Apr 16 15:41:45 2019
New Revision: 346279
URL: https://svnweb.freebsd.org/changeset/base/346279

Log:
  Oops, r346278 committed a test version with the change annulled.

Modified:
  head/lib/libvgl/main.c

Modified: head/lib/libvgl/main.c
==============================================================================
--- head/lib/libvgl/main.c	Tue Apr 16 15:31:23 2019	(r346278)
+++ head/lib/libvgl/main.c	Tue Apr 16 15:41:45 2019	(r346279)
@@ -274,7 +274,7 @@ VGLInit(int mode)
    * be too slow, and malloc() may fail).  Restrict ourselves similarly to
    * get the same efficiency and bugs for all kernels.
    */
-  if (0 && VGLModeInfo.vi_mode >= M_VESA_BASE)
+  if (VGLModeInfo.vi_mode >= M_VESA_BASE)
     VGLBufSize = 2*VGLAdpInfo.va_line_width*VGLModeInfo.vi_height*
                  VGLModeInfo.vi_planes;
   VGLBuf = malloc(VGLBufSize);


More information about the svn-src-all mailing list