mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Sigh, r346279 was also a test version with the reduced size doubled (so
it was actually double the full size in current kernels where the reduction is null, so overran the mmapped() buffer).
This commit is contained in:
parent
6ec0606616
commit
c0643d9011
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346280
|
@ -275,7 +275,7 @@ VGLInit(int mode)
|
|||
* get the same efficiency and bugs for all kernels.
|
||||
*/
|
||||
if (VGLModeInfo.vi_mode >= M_VESA_BASE)
|
||||
VGLBufSize = 2*VGLAdpInfo.va_line_width*VGLModeInfo.vi_height*
|
||||
VGLBufSize = VGLAdpInfo.va_line_width*VGLModeInfo.vi_height*
|
||||
VGLModeInfo.vi_planes;
|
||||
VGLBuf = malloc(VGLBufSize);
|
||||
if (VGLBuf == NULL) {
|
||||
|
|
Loading…
Reference in a new issue