Commit 6cb0e8d0 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Mark some d3d9 formats as normalized formats.

parent e8c9588e
......@@ -346,6 +346,16 @@ static const struct wined3d_format_base_flags format_base_flags[] =
{WINED3DFMT_R32_UINT, WINED3DFMT_FLAG_CAST_TO_BLOCK | WINED3DFMT_FLAG_INDEX_BUFFER},
{WINED3DFMT_R32_SINT, WINED3DFMT_FLAG_CAST_TO_BLOCK},
{WINED3DFMT_R16_UINT, WINED3DFMT_FLAG_INDEX_BUFFER},
{WINED3DFMT_A8_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B10G10R10A2_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B2G3R3_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B4G4R4A4_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B4G4R4X4_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B5G5R5A1_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B5G5R5X1_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B5G6R5_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_B8G8R8_UNORM, WINED3DFMT_FLAG_NORMALISED},
{WINED3DFMT_R10G10B10A2_UNORM, WINED3DFMT_FLAG_NORMALISED},
};
static void rgb888_from_rgb565(WORD rgb565, BYTE *r, BYTE *g, BYTE *b)
......
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