mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-20 08:50:08 +00:00
gl_shader_gen: Mark PicaVSConfig reference parameter as const
This isn't mutated whatsoever, so this can be marked const.
This commit is contained in:
parent
db5b8b9c88
commit
d23ffe9b42
@ -170,7 +170,7 @@ struct PicaVSConfig : Common::HashableStruct<PicaShaderConfigCommon> {
|
|||||||
explicit PicaVSConfig(const Pica::ShaderRegs& regs, Pica::Shader::ShaderSetup& setup) {
|
explicit PicaVSConfig(const Pica::ShaderRegs& regs, Pica::Shader::ShaderSetup& setup) {
|
||||||
state.Init(regs, setup);
|
state.Init(regs, setup);
|
||||||
}
|
}
|
||||||
explicit PicaVSConfig(PicaShaderConfigCommon& conf) {
|
explicit PicaVSConfig(const PicaShaderConfigCommon& conf) {
|
||||||
state = conf;
|
state = conf;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user