Explorar o código

renderer_opengl/gl_shader_decompiler: Remove redundant name specification in format string

This accidentally slipped through a rebase.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
de23847184
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

+ 1 - 1
src/video_core/renderer_opengl/gl_shader_decompiler.cpp

@@ -371,7 +371,7 @@ private:
             location += GENERIC_VARYING_START_LOCATION;
         }
 
-        code.AddLine("layout (location = {}) {} in vec4 {};", name, location, suffix, name);
+        code.AddLine("layout (location = {}) {} in vec4 {};", location, suffix, name);
     }
 
     void DeclareOutputAttributes() {