[vlc-commits] DxGI: code cosmetic
Jean-Baptiste Kempf
git at videolan.org
Thu May 12 15:20:35 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 12 15:20:25 2016 +0200| [6b77714e745d1c099de704ca3daaeb8dd18bae42] | committer: Jean-Baptiste Kempf
DxGI: code cosmetic
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6b77714e745d1c099de704ca3daaeb8dd18bae42
---
modules/video_chroma/dxgi_fmt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index e7e6a85..e78a4d1 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -98,12 +98,10 @@ const d3d_format_t *GetRenderFormatList(void)
void DxgiFormatMask(DXGI_FORMAT format, video_format_t *fmt)
{
- switch (format)
+ if (format == DXGI_FORMAT_B8G8R8X8_UNORM)
{
- case DXGI_FORMAT_B8G8R8X8_UNORM:
fmt->i_rmask = 0x0000ff00;
fmt->i_gmask = 0x00ff0000;
fmt->i_bmask = 0xff000000;
- break;
}
}
More information about the vlc-commits
mailing list