From 34108ddc58b3599850b05f3a43bc098a4c5cac1f Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Sat, 22 Apr 2006 17:27:09 +0000 Subject: [PATCH] fixed OVERLAY_SUPPORTED_SPACES hook. Thanks axel for reporting. Fixed in all my drivers :) Note that this doesn't change the workings of the drivers on current versions of BeOS, since this hook is never called. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17203 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/matrox/Overlay.c | 4 ++-- src/add-ons/accelerants/neomagic/Overlay.c | 4 ++-- src/add-ons/accelerants/nvidia/Overlay.c | 4 ++-- src/add-ons/accelerants/skeleton/Overlay.c | 4 ++-- src/add-ons/accelerants/via/Overlay.c | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/add-ons/accelerants/matrox/Overlay.c b/src/add-ons/accelerants/matrox/Overlay.c index 1f269521ee..77fe95a7d3 100644 --- a/src/add-ons/accelerants/matrox/Overlay.c +++ b/src/add-ons/accelerants/matrox/Overlay.c @@ -1,4 +1,4 @@ -/* Written by Rudolf Cornelissen 05-2002/03-2003 */ +/* Written by Rudolf Cornelissen 05-2002/4-2006 */ /* Note on 'missing features' in BeOS 5.0.3 and DANO: * BeOS needs to define more colorspaces! It would be nice if BeOS would support the FourCC 'definitions' @@ -47,7 +47,7 @@ const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm) } /* interlaced VGA is not supported by G200-G550 BES */ - if (dm->timing.flags && B_TIMING_INTERLACED) + if (dm->timing.flags & B_TIMING_INTERLACED) { return NULL; } diff --git a/src/add-ons/accelerants/neomagic/Overlay.c b/src/add-ons/accelerants/neomagic/Overlay.c index 035aab6461..98a5919493 100644 --- a/src/add-ons/accelerants/neomagic/Overlay.c +++ b/src/add-ons/accelerants/neomagic/Overlay.c @@ -1,4 +1,4 @@ -/* Written by Rudolf Cornelissen 05-2002/08-2004 */ +/* Written by Rudolf Cornelissen 05-2002/4-2006 */ /* Note on 'missing features' in BeOS 5.0.3 and DANO: * BeOS needs to define more colorspaces! It would be nice if BeOS would support the FourCC 'definitions' @@ -41,7 +41,7 @@ const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm) } /* assuming interlaced VGA is not supported */ - if (dm->timing.flags && B_TIMING_INTERLACED) + if (dm->timing.flags & B_TIMING_INTERLACED) { return NULL; } diff --git a/src/add-ons/accelerants/nvidia/Overlay.c b/src/add-ons/accelerants/nvidia/Overlay.c index cbeb8cb4a6..30d37420a6 100644 --- a/src/add-ons/accelerants/nvidia/Overlay.c +++ b/src/add-ons/accelerants/nvidia/Overlay.c @@ -1,4 +1,4 @@ -/* Written by Rudolf Cornelissen 05/2002-2/2006 */ +/* Written by Rudolf Cornelissen 05/2002-4/2006 */ /* Note on 'missing features' in BeOS 5.0.3 and DANO: * BeOS needs to define more colorspaces! It would be nice if BeOS would support the FourCC 'definitions' @@ -43,7 +43,7 @@ const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm) } /* assuming interlaced VGA is not supported */ - if (dm->timing.flags && B_TIMING_INTERLACED) + if (dm->timing.flags & B_TIMING_INTERLACED) { return NULL; } diff --git a/src/add-ons/accelerants/skeleton/Overlay.c b/src/add-ons/accelerants/skeleton/Overlay.c index 99e1243b15..a22be49b6b 100644 --- a/src/add-ons/accelerants/skeleton/Overlay.c +++ b/src/add-ons/accelerants/skeleton/Overlay.c @@ -1,4 +1,4 @@ -/* Written by Rudolf Cornelissen 05/2002-9/2004 */ +/* Written by Rudolf Cornelissen 05/2002-4/2006 */ /* Note on 'missing features' in BeOS 5.0.3 and DANO: * BeOS needs to define more colorspaces! It would be nice if BeOS would support the FourCC 'definitions' @@ -43,7 +43,7 @@ const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm) } /* assuming interlaced VGA is not supported */ - if (dm->timing.flags && B_TIMING_INTERLACED) + if (dm->timing.flags & B_TIMING_INTERLACED) { return NULL; } diff --git a/src/add-ons/accelerants/via/Overlay.c b/src/add-ons/accelerants/via/Overlay.c index 0846d03708..fa2d589b9b 100644 --- a/src/add-ons/accelerants/via/Overlay.c +++ b/src/add-ons/accelerants/via/Overlay.c @@ -1,4 +1,4 @@ -/* Written by Rudolf Cornelissen 05/2002-9/2005 */ +/* Written by Rudolf Cornelissen 05/2002-4/2006 */ /* Note on 'missing features' in BeOS 5.0.3 and DANO: * BeOS needs to define more colorspaces! It would be nice if BeOS would support the FourCC 'definitions' @@ -43,7 +43,7 @@ const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm) } /* assuming interlaced VGA is not supported */ - if (dm->timing.flags && B_TIMING_INTERLACED) + if (dm->timing.flags & B_TIMING_INTERLACED) { return NULL; }