Commit 6b77714e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DxGI: code cosmetic

parent b2ef9ee3
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment