From a21a9460dcab76e9ff1a71e64ce6a72393c77d53 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Tue, 13 Apr 2004 19:31:03 +0000 Subject: [PATCH] removed warning. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7199 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../accelerants/nvidia/GetAccelerantHook.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/add-ons/accelerants/nvidia/GetAccelerantHook.c b/src/add-ons/accelerants/nvidia/GetAccelerantHook.c index cee6129d34..f26aeb93a6 100644 --- a/src/add-ons/accelerants/nvidia/GetAccelerantHook.c +++ b/src/add-ons/accelerants/nvidia/GetAccelerantHook.c @@ -4,7 +4,7 @@ Other authors: Mark Watson, - Rudolf Cornelissen 10/2002-10/2003 + Rudolf Cornelissen 10/2002-4/2004 */ #define MODULE_BIT 0x08000000 @@ -170,17 +170,10 @@ status_t check_overlay_capability(uint32 feature) break; } - /* all supported cards have a bes... */ - if (si->ps.card_arch >= NV04A) - { - /* export video overlay functions */ - LOG(4, ("Overlay: Exporting hook %s.\n", msg)); - return B_OK; - } + /* all supported cards have a bes */ + LOG(4, ("Overlay: Exporting hook %s.\n", msg)); - /* do not export video overlay functions */ - LOG(4, ("Overlay: Not exporting hook %s.\n", msg)); - return B_ERROR; + return B_OK; } status_t check_acc_capability(uint32 feature)