From e8cdc01c2f0fd906dde988e37d36181d2a18868e Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Fri, 9 Apr 2004 19:21:56 +0000 Subject: [PATCH] fixed error in paneldetection code on laptops... oops! git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7190 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/nvidia/engine/nv_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/accelerants/nvidia/engine/nv_info.c b/src/add-ons/accelerants/nvidia/engine/nv_info.c index cc348f5c63..d61576f74b 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_info.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_info.c @@ -380,7 +380,7 @@ static void detect_panels() //we are assuming that no DVI is used as external monitor on laptops; //otherwise we probably get into trouble here if the checked specs match. if (si->ps.laptop && si->ps.tmds1_active && si->ps.tmds2_active && - (DACR(FP_TG_CTRL) == DAC2R(FP_TG_CTRL)) && + ((DACR(FP_TG_CTRL) & 0x80000000) == (DAC2R(FP_TG_CTRL) & 0x80000000)) && (si->ps.panel1_width == si->ps.panel2_width) && (si->ps.panel1_height == si->ps.panel2_height)) {