diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 4d4332c3e4..8d68156bf4 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1516,7 +1516,7 @@ private: } std::pair ValidateAndGetCoordinateElement( - const Tegra::Shader::TextureType& texture_type, const bool depth_compare, + const Tegra::Shader::TextureType texture_type, const bool depth_compare, const bool is_array, const bool lod_bias_enabled, size_t max_coords, size_t max_inputs) { const size_t coord_count = TextureCoordinates(texture_type);