diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 03f4ac559..8f00abc66 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -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) { info.physical_address = regs.texturing.GetCubePhysicalAddress(face); Surface surface = res_cache.GetTextureSurface(info);