gl_rasterizer: BindCubeFace is const
Co-authored-by: SachinVin <26602104+SachinVin@users.noreply.github.com>
This commit is contained in:
parent
31e6b553dc
commit
6109935b73
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue