Force remap of Alpha8 on GL, it's not a supported format in core profile

This commit is contained in:
baldurk
2019-11-13 10:04:24 +00:00
parent 46c2b8cf4c
commit 5d32cf6b07
+4
View File
@@ -3295,6 +3295,10 @@ bool GLReplay::IsTextureSupported(const ResourceFormat &format)
if(format.type == ResourceFormatType::ASTC)
return false;
// we don't try to replay alpha8 textures, as we stick strictly to core profile GL
if(format.type == ResourceFormatType::A8)
return false;
// BGRA is not accepted as an internal format in case of GL
// EXT_texture_format_BGRA8888 is required for creating BGRA proxy textures in case of GLES
if(format.BGRAOrder())