mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
gl_shader_manager: Remove unused variable in SetFromRegs
This commit is contained in:
parent
028b1a34a9
commit
e2ea0c3e11
1 changed files with 0 additions and 1 deletions
|
@ -42,7 +42,6 @@ void ProgramManager::UpdatePipeline() {
|
||||||
|
|
||||||
void MaxwellUniformData::SetFromRegs(const Maxwell3D& maxwell) {
|
void MaxwellUniformData::SetFromRegs(const Maxwell3D& maxwell) {
|
||||||
const auto& regs = maxwell.regs;
|
const auto& regs = maxwell.regs;
|
||||||
const auto& state = maxwell.state;
|
|
||||||
|
|
||||||
// Y_NEGATE controls what value S2R returns for the Y_DIRECTION system value.
|
// Y_NEGATE controls what value S2R returns for the Y_DIRECTION system value.
|
||||||
y_direction = regs.screen_y_control.y_negate == 0 ? 1.0f : -1.0f;
|
y_direction = regs.screen_y_control.y_negate == 0 ? 1.0f : -1.0f;
|
||||||
|
|
Loading…
Reference in a new issue