Skip to content

Commit

Permalink
Add D3DFMT_D24S8 to texture format converter.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Dec 12, 2015
1 parent 969544a commit 8ecc516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderGL/glTextureUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ TextureFormatPairs TextureFormatList[] =
//D3DFMT_D16 GL_DEPTH_COMPONENT16
//D3DFMT_D32 Not available
//D3DFMT_D15S1 Not available
//D3DFMT_D24S8 Not available
{D3DFMT_D24S8, GL_DEPTH24_STENCIL8},
{ D3DFMT_D24X8, GL_DEPTH24_STENCIL8 },
//D3DFMT_D24X4S4 Not available
//D3DFMT_D16 DXGI_FORMAT_D16_UNORM
Expand Down

0 comments on commit 8ecc516

Please sign in to comment.