Henri Verbeet : d3d8: GetDepthStencilSurface returns D3DERR_NOTFOUND when no depth stencil is present .