gl_rasterizer: BindCubeFace is const

Co-authored-by: SachinVin <26602104+SachinVin@users.noreply.github.com>
This commit is contained in:
GPUCode 2022-08-22 11:11:28 +03:00 committed by GitHub
parent 31e6b553dc
commit 6109935b73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);