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
diff --git a/src/libEGL/Display.cpp b/src/libEGL/Display.cpp
index cef6d6f..1f7a2b0 100644
--- a/src/libEGL/Display.cpp
+++ b/src/libEGL/Display.cpp
@@ -88,10 +88,10 @@
{
// D3DFMT_D16_LOCKABLE,
D3DFMT_D32,
- D3DFMT_D15S1,
+ // D3DFMT_D15S1,
D3DFMT_D24S8,
D3DFMT_D24X8,
- D3DFMT_D24X4S4,
+ // D3DFMT_D24X4S4,
D3DFMT_D16,
// D3DFMT_D32F_LOCKABLE,
// D3DFMT_D24FS8