1
0
Fork 0
forked from suyu/suyu

gl_shader_manager: Remove unused variable in SetFromRegs

This commit is contained in:
ReinUsesLisp 2019-10-30 00:40:56 -03:00
parent 028b1a34a9
commit e2ea0c3e11
No known key found for this signature in database
GPG key ID: 2DFC508897B39CFE

View file

@ -42,7 +42,6 @@ void ProgramManager::UpdatePipeline() {
void MaxwellUniformData::SetFromRegs(const Maxwell3D& maxwell) {
const auto& regs = maxwell.regs;
const auto& state = maxwell.state;
// 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;