Add hack for replaying ASTC textures with GL driver

This commit is contained in:
Janos Pantos
2017-09-21 17:56:37 +02:00
committed by Baldur Karlsson
parent 45d67fdac2
commit 8a98ba0baf
+5
View File
@@ -3258,6 +3258,11 @@ void GLReplay::SetProxyTextureData(ResourceId texid, uint32_t arrayIdx, uint32_t
bool GLReplay::IsTextureSupported(const ResourceFormat &format)
{
// We couldn't create proxy textures for ASTC textures (see MakeGLFormat). So we give back false
// and let RemapProxyTextureIfNeeded to set remap type for them.
if(format.type == ResourceFormatType::ASTC)
return false;
return true;
}