From 2590e7d29cd3c18ec69af7db40d2fc8eda5f9693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 17 Oct 2007 15:33:38 +0000 Subject: [PATCH] Preferred mode should be 32 bits. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22596 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/radeon/GetModeInfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/add-ons/accelerants/radeon/GetModeInfo.c b/src/add-ons/accelerants/radeon/GetModeInfo.c index 5177f3a08e..7a8f61900b 100644 --- a/src/add-ons/accelerants/radeon/GetModeInfo.c +++ b/src/add-ons/accelerants/radeon/GetModeInfo.c @@ -86,7 +86,8 @@ radeon_get_preferred_display_mode(display_mode* mode) if (ai->mode_list[i].timing.h_display == fpInfo->panel_xres && ai->mode_list[i].timing.v_display == fpInfo->panel_yres && ai->mode_list[i].virtual_width == fpInfo->panel_xres - && ai->mode_list[i].virtual_height == fpInfo->panel_yres) { + && ai->mode_list[i].virtual_height == fpInfo->panel_yres + && ai->mode_list[i].space == B_RGB32_LITTLE) { memcpy(mode, &ai->mode_list[i], sizeof(display_mode)); return B_OK; }