From 34c7a543bd2eaa703642effc4e1498ead9b7de91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Wed, 20 Feb 2019 18:23:14 -0800 Subject: [PATCH] D3D9: Fixed texutre format. --- examples/08-update/update.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/08-update/update.cpp b/examples/08-update/update.cpp index ef8085278..0558f8aab 100644 --- a/examples/08-update/update.cpp +++ b/examples/08-update/update.cpp @@ -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) {