mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix near/far plane specifiers being backwards
This commit is contained in:
@@ -3559,11 +3559,8 @@ void BufferViewer::camGuess_changed(double value)
|
||||
else if(m_CurStage == MeshDataStage::GSOut)
|
||||
m_Config.position.farPlane = m_PostGS.farPlane;
|
||||
|
||||
if(ui->nearGuess->value() > 0.0)
|
||||
m_Config.position.farPlane = ui->nearGuess->value();
|
||||
|
||||
if(ui->farGuess->value() > 0.0)
|
||||
m_Config.position.nearPlane = ui->farGuess->value();
|
||||
m_Config.position.farPlane = ui->farGuess->value();
|
||||
|
||||
EnableCameraGuessControls();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user