mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Remove unused vars and debug comments
This commit is contained in:
1 parent
c121bb5161
commit
54b16f141d
2 files changed
+1
-5
No files matched your search
@@ -36,9 +36,6 @@ void ComputeGuardband(float gb[4], float zmin) {
|
||||
// this way and we have space for the NAN in the uniform.
|
||||
// We also assume that everything behind the near clipping plane gets clipped and will thus not in reality
|
||||
// exceed the guardband. This is a bit rough but should be ok.
|
||||
float offsetX = gstate.getOffsetX();
|
||||
float offsetY = gstate.getOffsetY();
|
||||
float nearPlane = 0.0;
|
||||
gb[0] = (2048.0f / (vpWidth*0.5f));
|
||||
gb[1] = (2048.0f / (vpHeight*0.5f));
|
||||
gb[2] = zmin;
|
||||
|
||||
@@ -427,11 +427,10 @@ void DrawEngineD3D11::ApplyDrawState(int prim) {
|
||||
if (rasterIter == rasterCache_.end()) {
|
||||
D3D11_RASTERIZER_DESC desc{};
|
||||
desc.CullMode = (D3D11_CULL_MODE)(keys_.raster.cullMode);
|
||||
// desc.FillMode = gstate.isModeThrough() ? D3D11_FILL_SOLID : D3D11_FILL_WIREFRAME;
|
||||
desc.FillMode = D3D11_FILL_SOLID;
|
||||
desc.ScissorEnable = TRUE;
|
||||
desc.FrontCounterClockwise = TRUE;
|
||||
desc.DepthClipEnable = TRUE; // FALSE
|
||||
desc.DepthClipEnable = TRUE;
|
||||
ASSERT_SUCCESS(device_->CreateRasterizerState(&desc, &rs));
|
||||
rasterCache_.insert(std::pair<uint32_t, ID3D11RasterizerState *>(keys_.raster.value, rs));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user