mirror of https://github.com/xemu-project/xemu.git
Merge pull request #17 from JayFoxRox/fix-texture-0x19
Fix texture format SZ_A8 (0x19)
This commit is contained in:
commit
24d6d2bdff
|
@ -1175,7 +1175,7 @@ static const ColorFormatInfo kelvin_color_format_map[66] = {
|
|||
[NV097_SET_TEXTURE_FORMAT_COLOR_LU_IMAGE_A8R8G8B8] =
|
||||
{4, true, GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV},
|
||||
[NV097_SET_TEXTURE_FORMAT_COLOR_SZ_A8] =
|
||||
{2, false, GL_R8, GL_RED, GL_UNSIGNED_BYTE,
|
||||
{1, false, GL_R8, GL_RED, GL_UNSIGNED_BYTE,
|
||||
{GL_ZERO, GL_ZERO, GL_ZERO, GL_RED}},
|
||||
[NV097_SET_TEXTURE_FORMAT_COLOR_LU_IMAGE_X8R8G8B8] =
|
||||
{4, true, GL_RGB8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV},
|
||||
|
|
Loading…
Reference in New Issue