gl_rasterizer: BindCubeFace is const
Co-authored-by: SachinVin <26602104+SachinVin@users.noreply.github.com>
This commit is contained in:
parent
31e6b553dc
commit
6109935b73
|
@ -630,7 +630,7 @@ bool RasterizerOpenGL::Draw(bool accelerate, bool is_indexed) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
auto BindCubeFace = [&](GLuint& target, Pica::TexturingRegs::CubeFace face,
|
const auto BindCubeFace = [&](GLuint& target, Pica::TexturingRegs::CubeFace face,
|
||||||
Pica::Texture::TextureInfo& info) {
|
Pica::Texture::TextureInfo& info) {
|
||||||
info.physical_address = regs.texturing.GetCubePhysicalAddress(face);
|
info.physical_address = regs.texturing.GetCubePhysicalAddress(face);
|
||||||
Surface surface = res_cache.GetTextureSurface(info);
|
Surface surface = res_cache.GetTextureSurface(info);
|
||||||
|
|
Reference in New Issue