This commit is contained in:
Бранимир Караџић 2021-04-18 21:16:56 -07:00
parent daad11fa0c
commit 19fe73d00d

View File

@ -969,7 +969,9 @@ public:
bgfx::TextureFormat::Enum format = bgfx::TextureFormat::RG11B10F;
if (!bgfx::isTextureValid(1, false, 1, format, bilinearFlags))
{
format = bgfx::TextureFormat::RGBA16F;
}
m_currentColor .init(m_size[0], m_size[1], format, bilinearFlags);
m_previousColor .init(m_size[0], m_size[1], format, bilinearFlags);