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
This commit is contained in:
Rudolf Cornelissen
2006-04-22 17:27:09 +00:00
parent 51b3b53e71
commit 34108ddc58
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}