diff options
| author | Nicolas Souchu <nsouch@FreeBSD.org> | 2001-01-25 11:01:20 +0000 |
|---|---|---|
| committer | Nicolas Souchu <nsouch@FreeBSD.org> | 2001-01-25 11:01:20 +0000 |
| commit | e28bc5f477bc2b67eb1f0c68ac82d3caddec005a (patch) | |
| tree | 502e329252b4bab091824c0458244b07870d28eb /lib | |
| parent | c264e80fb7ef73205a08f8b1ed5b54c4913ee812 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libvgl/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libvgl/main.c b/lib/libvgl/main.c index 635c29c61945..c5b324cf5748 100644 --- a/lib/libvgl/main.c +++ b/lib/libvgl/main.c @@ -176,9 +176,11 @@ VGLInit(int mode) return -4; } VGLDisplay->Type = VIDBUF8; + VGLDisplay->PixelBytes = 1; break; case V_INFO_MM_VGAX: VGLDisplay->Type = VIDBUF8X; + VGLDisplay->PixelBytes = 1; break; case V_INFO_MM_DIRECT: VGLDisplay->PixelBytes = VGLModeInfo.vi_pixel_size; |
