mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Update src/video_core/renderer_opengl/gl_shader_manager.cpp
Co-authored-by: Marshall Mohror <mohror64@gmail.com>
This commit is contained in:
		
							parent
							
								
									03c002ee2a
								
							
						
					
					
						commit
						5055212063
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -267,7 +267,8 @@ public: | |||
|             auto [iter, new_shader] = shader_cache.emplace(program, OGLShaderStage{separable}); | ||||
|             OGLShaderStage& cached_shader = iter->second; | ||||
|             if (new_shader) { | ||||
|                 result.code = program; | ||||
|                 result.emplace(); | ||||
|                 result->code = program; | ||||
|                 cached_shader.Create(program.c_str(), ShaderType); | ||||
|             } | ||||
|             shader_map[key] = &cached_shader; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue