D3D9: Fixed texutre format.
This commit is contained in:
parent
5b1f2c710a
commit
34c7a543bd
@ -302,13 +302,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
m_textureCube[3] = bgfx::createTextureCube(
|
m_textureCube[3] = bgfx::createTextureCube(kTextureSide, false, 1, bgfx::TextureFormat::BGRA8, BGFX_TEXTURE_RT);
|
||||||
kTextureSide
|
|
||||||
, false
|
|
||||||
, 1
|
|
||||||
, bgfx::TextureFormat::RGBA8
|
|
||||||
, BGFX_TEXTURE_RT
|
|
||||||
);
|
|
||||||
|
|
||||||
for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCubeFaceFb); ++ii)
|
for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCubeFaceFb); ++ii)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user