Skip to content

Commit 8ecc516

Browse files
author
nitrocaster
committed
Add D3DFMT_D24S8 to texture format converter.
1 parent 969544a commit 8ecc516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layers/xrRenderGL/glTextureUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ TextureFormatPairs TextureFormatList[] =
5555
//D3DFMT_D16 GL_DEPTH_COMPONENT16
5656
//D3DFMT_D32 Not available
5757
//D3DFMT_D15S1 Not available
58-
//D3DFMT_D24S8 Not available
58+
{D3DFMT_D24S8, GL_DEPTH24_STENCIL8},
5959
{ D3DFMT_D24X8, GL_DEPTH24_STENCIL8 },
6060
//D3DFMT_D24X4S4 Not available
6161
//D3DFMT_D16 DXGI_FORMAT_D16_UNORM

0 commit comments

Comments
 (0)