Fixing texture sizing. Probably. Fixes some DXT issues.

This commit is contained in:
Ben Vanik
2015-02-03 23:46:12 -08:00
parent c33613b2f8
commit fe3475b88c
2 changed files with 21 additions and 21 deletions

View File

@@ -506,7 +506,7 @@ bool TextureCache::UploadTexture2D(GLuint texture,
case TextureFormat::k_DXT1:
case TextureFormat::k_DXT1_AS_16_16_16_16:
// or GL_COMPRESSED_RGB_S3TC_DXT1_EXT?
internal_format = format = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT;
internal_format = format = GL_COMPRESSED_RGB_S3TC_DXT1_EXT;
break;
case TextureFormat::k_DXT2_3:
case TextureFormat::k_DXT2_3_AS_16_16_16_16: