Cleanup.
This commit is contained in:
parent
daad11fa0c
commit
19fe73d00d
@ -969,13 +969,15 @@ public:
|
|||||||
|
|
||||||
bgfx::TextureFormat::Enum format = bgfx::TextureFormat::RG11B10F;
|
bgfx::TextureFormat::Enum format = bgfx::TextureFormat::RG11B10F;
|
||||||
if (!bgfx::isTextureValid(1, false, 1, format, bilinearFlags))
|
if (!bgfx::isTextureValid(1, false, 1, format, bilinearFlags))
|
||||||
|
{
|
||||||
format = bgfx::TextureFormat::RGBA16F;
|
format = bgfx::TextureFormat::RGBA16F;
|
||||||
|
}
|
||||||
|
|
||||||
m_currentColor.init(m_size[0], m_size[1], format, bilinearFlags);
|
m_currentColor .init(m_size[0], m_size[1], format, bilinearFlags);
|
||||||
m_previousColor.init(m_size[0], m_size[1], format, bilinearFlags);
|
m_previousColor .init(m_size[0], m_size[1], format, bilinearFlags);
|
||||||
m_txaaColor.init(m_size[0], m_size[1], format, bilinearFlags);
|
m_txaaColor .init(m_size[0], m_size[1], format, bilinearFlags);
|
||||||
m_temporaryColor.init(m_size[0], m_size[1], format, bilinearFlags);
|
m_temporaryColor .init(m_size[0], m_size[1], format, bilinearFlags);
|
||||||
m_previousNormal.init(m_size[0], m_size[1], format, pointSampleFlags);
|
m_previousNormal .init(m_size[0], m_size[1], format, pointSampleFlags);
|
||||||
m_previousDenoise.init(m_size[0], m_size[1], format, bilinearFlags);
|
m_previousDenoise.init(m_size[0], m_size[1], format, bilinearFlags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user