wined3d: Use GL_ALPHA8 for WINED3DFMT_P8_UINT surfaces.

This commit is contained in:
Stefan Dösinger 2014-05-13 16:21:52 +02:00 committed by Alexandre Julliard
parent 7b049245f5
commit 3cd83f4d56
1 changed files with 1 additions and 1 deletions

View File

@ -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},