Skip to content

Commit

Permalink
xrRenderDX10/dx10HW.cpp: Added one more format support for backbuffer
Browse files Browse the repository at this point in the history
Add comments..
  • Loading branch information
Xottab-DUTY committed Oct 2, 2018
1 parent 15ff1d7 commit 6fa5530
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Layers/xrRenderDX10/dx10HW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ void CHW::CreateDevice(SDL_Window* m_sdlWnd)
// TODO: DX10: implement dynamic format selection
constexpr DXGI_FORMAT formats[] =
{
//DXGI_FORMAT_R16G16B16A16_FLOAT,
//DXGI_FORMAT_R10G10B10A2_UNORM,
//DXGI_FORMAT_B8G8R8X8_UNORM,
//DXGI_FORMAT_R16G16B16A16_FLOAT, // Do we even need this?
//DXGI_FORMAT_R10G10B10A2_UNORM, // D3DX11SaveTextureToMemory fails on this format
DXGI_FORMAT_B8G8R8X8_UNORM,
DXGI_FORMAT_R8G8B8A8_UNORM,
};

Expand Down

0 comments on commit 6fa5530

Please sign in to comment.