Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

glsl: Fixup build issues

ReinUsesLispfc7cb28bc725
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 4387532abb..602cf025b5 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -437,7 +437,7 @@ std::unique_ptr<GraphicsPipeline> ShaderCache::CreateGraphicsPipeline(
const std::string code{EmitGLASM(profile, runtime_info, program, binding)};
assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index));
} else {
- const auto code{EmitGLSL(profile, program, binding)};
+ const auto code{EmitGLSL(profile, runtime_info, program, binding)};
OGLShader shader;
AttachShader(Stage(stage_index), source_program.handle, code);
}