sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

Should explicitly set the depth/stencil state in PresentDisplayInitialize #272

Open russell-taylor opened 7 years ago

russell-taylor commented 7 years ago

In the D3D11 renderer, we should make a depth/stencil state that always passes the fragment and explicitly enable it when we set the render target. This will prevent the client from doing something to override it.

We'll want to put it back afterwards to avoid messing with the user's state.