From 37950dd1d242da38334433cc4c55d91bd61b45c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 28 Feb 2008 12:32:10 +0000 Subject: [PATCH] There is no reason to prefer 16 bpp modes anymore. 32 bpp is just as snappy, maybe users on older hardware prefer 16 bpp, but that should be fixed by supporting a vesa config file instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24167 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/bios_ia32/video.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/system/boot/platform/bios_ia32/video.cpp b/src/system/boot/platform/bios_ia32/video.cpp index f8121ae36f..89c36f0ee1 100644 --- a/src/system/boot/platform/bios_ia32/video.cpp +++ b/src/system/boot/platform/bios_ia32/video.cpp @@ -96,10 +96,6 @@ find_video_mode(int32 width, int32 height) video_mode *mode = NULL; while ((mode = (video_mode *)list_get_next_item(&sModeList, mode)) != NULL) { if (mode->width == width && mode->height == height) { - // prefer 16 bit mode - if (mode->bits_per_pixel == 16) - return mode; - if (found == NULL || found->bits_per_pixel < mode->bits_per_pixel) found = mode; }