Correcting un-returned depth size in utility function.

TRAC #11333 Implemented during masking conformance testing. Author: Shannon Woods Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@29 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 0009d624
...@@ -206,7 +206,7 @@ GLuint Depthbuffer::getDepthSize() ...@@ -206,7 +206,7 @@ GLuint Depthbuffer::getDepthSize()
D3DSURFACE_DESC description; D3DSURFACE_DESC description;
mDepthStencil->GetDesc(&description); mDepthStencil->GetDesc(&description);
es2dx::GetDepthSize(description.Format); return es2dx::GetDepthSize(description.Format);
} }
return 0; return 0;
......
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