mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge pull request #5608 from gal20/fix-flatpak-crash
Fix flatpak crash when hardware shader is enabled
This commit is contained in:
		
						commit
						23b67849d5
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -267,6 +267,7 @@ public: | ||||||
|             auto [iter, new_shader] = shader_cache.emplace(program, OGLShaderStage{separable}); |             auto [iter, new_shader] = shader_cache.emplace(program, OGLShaderStage{separable}); | ||||||
|             OGLShaderStage& cached_shader = iter->second; |             OGLShaderStage& cached_shader = iter->second; | ||||||
|             if (new_shader) { |             if (new_shader) { | ||||||
|  |                 result.emplace(); | ||||||
|                 result->code = program; |                 result->code = program; | ||||||
|                 cached_shader.Create(program.c_str(), ShaderType); |                 cached_shader.Create(program.c_str(), ShaderType); | ||||||
|             } |             } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue