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
This commit is contained in:
Stephan Aßmus 2008-02-28 12:32:10 +00:00
parent 326dce3ae0
commit 37950dd1d2

View File

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