diff --git a/src/video_core/renderer_opengl/gl_shader_manager.cpp b/src/video_core/renderer_opengl/gl_shader_manager.cpp index b037f7f09a..51ed235de4 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.cpp +++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp @@ -254,7 +254,7 @@ public: explicit ShaderDoubleCache(bool separable) : separable(separable) {} std::tuple> Get( const KeyConfigType& key, const Pica::Shader::ShaderSetup& setup) { - ShaderDecompiler::ProgramResult result{}; + std::optional result{}; auto map_it = shader_map.find(key); if (map_it == shader_map.end()) { auto program_opt = CodeGenerator(setup, key, separable);