mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-29 01:46:38 +00:00
Force remap of Alpha8 on GL, it's not a supported format in core profile
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user