From 63305e917328d0ce9f3db6def51eaa67f23880ec Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 27 Jul 2017 22:00:04 +1000 Subject: HiresTextures: Support loading BC7 (BPTC) from DDS files --- Source/Core/VideoBackends/OGL/OGLTexture.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoBackends/OGL/OGLTexture.cpp') diff --git a/Source/Core/VideoBackends/OGL/OGLTexture.cpp b/Source/Core/VideoBackends/OGL/OGLTexture.cpp index 242e19888e..8569e9b8b0 100644 --- a/Source/Core/VideoBackends/OGL/OGLTexture.cpp +++ b/Source/Core/VideoBackends/OGL/OGLTexture.cpp @@ -33,6 +33,8 @@ GLenum GetGLInternalFormatForTextureFormat(AbstractTextureFormat format, bool st return GL_COMPRESSED_RGBA_S3TC_DXT3_EXT; case AbstractTextureFormat::DXT5: return GL_COMPRESSED_RGBA_S3TC_DXT5_EXT; + case AbstractTextureFormat::BPTC: + return GL_COMPRESSED_RGBA_BPTC_UNORM_ARB; case AbstractTextureFormat::RGBA8: default: return storage ? GL_RGBA8 : GL_RGBA; -- cgit v1.2.3