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

This commit is contained in:
Bruce Evans 2019-04-16 15:41:45 +00:00
parent 63df3a344e
commit 6ec0606616

View File

@ -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);