* Also print the capabilities on boot up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32360 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-08-14 14:31:38 +00:00
parent b2a75cf56c
commit 55be27517f

View File

@ -422,7 +422,8 @@ vesa_get_vbe_info_block(vbe_info_block *info)
if (info->signature != VESA_SIGNATURE)
return B_ERROR;
dprintf("VESA version = %d.%d\n", info->version.major, info->version.minor);
dprintf("VESA version = %d.%d, capabilities %lx\n", info->version.major,
info->version.minor, info->capabilities);
if (info->version.major < 2) {
dprintf("VESA support too old\n");
@ -1159,7 +1160,7 @@ platform_init_video(void)
sVesaCompatible = vesa_init(&sInfo, &sDefaultMode) == B_OK;
if (!sVesaCompatible) {
TRACE(("No VESA compatible graphics!\n"));
gKernelArgs.vesa_capabilities = CAPABILITY_VGA_COMPATIBLE;
gKernelArgs.vesa_capabilities = 0;
return B_ERROR;
}