Add hack for replaying ASTC textures with GL driver

This commit is contained in:
Janos Pantos authored and Baldur Karlsson committed 2017-09-22 10:09:33 -07:00
1 parent 45d67fdac2
commit 8a98ba0baf
1 file changed
+5
+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;
}