Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2019 15:41:46 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346279 - head/lib/libvgl
Message-ID:  <201904161541.x3GFfksB075689@repo.freebsd.org>

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



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