Don't enumerate configs for depth/stencil formats not supported by any hardware

TRAC #12197 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@250 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 7664e55a
...@@ -88,10 +88,10 @@ bool Display::initialize() ...@@ -88,10 +88,10 @@ bool Display::initialize()
{ {
// D3DFMT_D16_LOCKABLE, // D3DFMT_D16_LOCKABLE,
D3DFMT_D32, D3DFMT_D32,
D3DFMT_D15S1, // D3DFMT_D15S1,
D3DFMT_D24S8, D3DFMT_D24S8,
D3DFMT_D24X8, D3DFMT_D24X8,
D3DFMT_D24X4S4, // D3DFMT_D24X4S4,
D3DFMT_D16, D3DFMT_D16,
// D3DFMT_D32F_LOCKABLE, // D3DFMT_D32F_LOCKABLE,
// D3DFMT_D24FS8 // D3DFMT_D24FS8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment