diff options
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index 4387532ab..602cf025b 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( | |||
| 437 | const std::string code{EmitGLASM(profile, runtime_info, program, binding)}; | 437 | const std::string code{EmitGLASM(profile, runtime_info, program, binding)}; |
| 438 | assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index)); | 438 | assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index)); |
| 439 | } else { | 439 | } else { |
| 440 | const auto code{EmitGLSL(profile, program, binding)}; | 440 | const auto code{EmitGLSL(profile, runtime_info, program, binding)}; |
| 441 | OGLShader shader; | 441 | OGLShader shader; |
| 442 | AttachShader(Stage(stage_index), source_program.handle, code); | 442 | AttachShader(Stage(stage_index), source_program.handle, code); |
| 443 | } | 443 | } |