Adds D3DFMT_UNKNOWN to depth stencil format conversion function.

TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1349 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 92955623
......@@ -1125,6 +1125,8 @@ GLenum ConvertDepthStencilFormat(D3DFORMAT format)
return GL_DEPTH_COMPONENT16;
case D3DFMT_D24S8:
return GL_DEPTH24_STENCIL8_OES;
case D3DFMT_UNKNOWN:
return GL_NONE;
default:
UNREACHABLE();
}
......
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