Fixing ARGB4444 textures.

This commit is contained in:
Ben Vanik 2015-01-01 16:30:42 -08:00
parent 0e04e1c455
commit 4a11d5e6e2
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ bool TextureCache::UploadTexture2D(GLuint texture, void* host_base,
case TextureFormat::k_4_4_4_4: case TextureFormat::k_4_4_4_4:
internal_format = GL_RGBA4; internal_format = GL_RGBA4;
format = GL_RGBA; format = GL_RGBA;
type = GL_UNSIGNED_SHORT_4_4_4_4; type = GL_UNSIGNED_SHORT_4_4_4_4_REV;
break; break;
case TextureFormat::k_16_FLOAT: case TextureFormat::k_16_FLOAT:
internal_format = GL_R16F; internal_format = GL_R16F;