From b9a86cb503bd83f63f3e5243c2c5e1b39f11ff9c Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Thu, 17 Jun 2004 14:17:15 +0000 Subject: [PATCH] fixed crtc mem constraint for TNT2 types as well now git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8032 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/nvidia/engine/nv_general.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add-ons/accelerants/nvidia/engine/nv_general.c b/src/add-ons/accelerants/nvidia/engine/nv_general.c index fadbf0ca6b..60ddb640b9 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_general.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_general.c @@ -1336,9 +1336,9 @@ status_t nv_general_validate_pic_size (display_mode *target, uint32 *bytes_per_r * * (Note: Don't mix this up with CRTC timing contraints! Those are * multiples of 8 for horizontal, 1 for vertical timing.) */ - switch (si->ps.card_arch) + switch (si->ps.card_type) { - case NV04A: + case NV04: /* confirmed for: * TNT1 always; * TNT2, TNT2-M64, GeForce2 MX400, GeForce4 MX440, GeForce4 Ti4200, @@ -1433,9 +1433,9 @@ status_t nv_general_validate_pic_size (display_mode *target, uint32 *bytes_per_r } /* set virtual_width limit for unaccelerated modes */ - switch (si->ps.card_arch) + switch (si->ps.card_type) { - case NV04A: + case NV04: /* confirmed for: * TNT1 always; * TNT2, TNT2-M64, GeForce2 MX400, GeForce4 MX440, GeForce4 Ti4200,