D3D9: Fixed texutre format.

This commit is contained in:
Бранимир Караџић 2019-02-20 18:23:14 -08:00
parent 5b1f2c710a
commit 34c7a543bd

View File

@ -302,13 +302,7 @@ public:
}
{
m_textureCube[3] = bgfx::createTextureCube(
kTextureSide
, false
, 1
, bgfx::TextureFormat::RGBA8
, BGFX_TEXTURE_RT
);
m_textureCube[3] = bgfx::createTextureCube(kTextureSide, false, 1, bgfx::TextureFormat::BGRA8, BGFX_TEXTURE_RT);
for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCubeFaceFb); ++ii)
{