Backface change and enable render wireframe
This commit is contained in:
parent
0a70839211
commit
3f4038a12d
|
@ -197,6 +197,7 @@ namespace Oyster
|
|||
void API::StartRenderWireFrame()
|
||||
{
|
||||
Core::deviceContext->RSSetState(wire);
|
||||
Core::deviceContext->OMSetRenderTargets(Render::Resources::Gather::Pass.RTV.size(),&Render::Resources::Gather::Pass.RTV[0],NULL);
|
||||
}
|
||||
|
||||
void API::RenderDebugCube(Math::Matrix world)
|
||||
|
|
|
@ -338,8 +338,8 @@ namespace Oyster
|
|||
dTDesc.BindFlags = D3D11_BIND_DEPTH_STENCIL;
|
||||
dTDesc.CPUAccessFlags=0;
|
||||
dTDesc.MiscFlags=0;
|
||||
dTDesc.Height = Core::resolution.y;
|
||||
dTDesc.Width = Core::resolution.x;
|
||||
dTDesc.Height = (UINT)Core::resolution.y;
|
||||
dTDesc.Width = (UINT)Core::resolution.x;
|
||||
dTDesc.SampleDesc.Count=1;
|
||||
dTDesc.SampleDesc.Quality=0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue