wined3d: Use GL_ALPHA8 for WINED3DFMT_P8_UINT surfaces.
This commit is contained in:
parent
7b049245f5
commit
3cd83f4d56
|
@ -740,7 +740,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
|
|||
| WINED3DFMT_FLAG_VTF,
|
||||
ARB_TEXTURE_FLOAT, NULL},
|
||||
/* Palettized formats */
|
||||
{WINED3DFMT_P8_UINT, GL_RGBA, GL_RGBA, 0,
|
||||
{WINED3DFMT_P8_UINT, GL_ALPHA8, GL_ALPHA8, 0,
|
||||
GL_ALPHA, GL_UNSIGNED_BYTE, 0,
|
||||
0,
|
||||
0, NULL},
|
||||
|
|
Loading…
Reference in New Issue