From bcec142d3eb4f486c232eedf9a69ca127e7b90f9 Mon Sep 17 00:00:00 2001 From: John Godgames Date: Fri, 20 Nov 2015 05:10:28 +0100 Subject: [PATCH] Fixes DXT1 Alpha issues in certain games https://www.opengl.org/wiki/S3_Texture_Compression#DXT1_with_1-bit_Alpha --- src/xenia/gpu/gl4/texture_cache.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/gpu/gl4/texture_cache.cc b/src/xenia/gpu/gl4/texture_cache.cc index ebe98e6d6..26297110c 100644 --- a/src/xenia/gpu/gl4/texture_cache.cc +++ b/src/xenia/gpu/gl4/texture_cache.cc @@ -64,8 +64,8 @@ static const TextureConfig texture_configs[64] = { GL_UNSIGNED_INT_10F_11F_11F_REV}, // ? {TextureFormat::k_11_11_10, GL_R11F_G11F_B10F, GL_RGB, GL_UNSIGNED_INT_10F_11F_11F_REV}, // ? - {TextureFormat::k_DXT1, GL_COMPRESSED_RGB_S3TC_DXT1_EXT, - GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_UNSIGNED_BYTE}, + {TextureFormat::k_DXT1, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, + GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, GL_UNSIGNED_BYTE}, {TextureFormat::k_DXT2_3, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, GL_UNSIGNED_BYTE}, {TextureFormat::k_DXT4_5, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT,