[PATCH 4/5] quartz/vmr9: Remove support for 15-bit RGB from the VMR7.
Zebediah Figura
z.figura12 at gmail.com
Mon Jun 22 17:56:06 CDT 2020
This was never correct; 15-bit RGB has a biBitCount of 16.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/quartz/vmr9.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c
index 318d825ac9e..d290d02ce7f 100644
--- a/dlls/quartz/vmr9.c
+++ b/dlls/quartz/vmr9.c
@@ -419,7 +419,6 @@ static HRESULT allocate_surfaces(struct quartz_vmr *filter, const AM_MEDIA_TYPE
{
switch (filter->bmiheader.biBitCount)
{
- case 15: info.Format = D3DFMT_X1R5G5B5; break;
case 16: info.Format = D3DFMT_R5G6B5; break;
case 24: info.Format = D3DFMT_R8G8B8; break;
case 32: info.Format = D3DFMT_X8R8G8B8; break;
--
2.27.0
More information about the wine-devel
mailing list