mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	gl_format_reinterpreter: Don't release unconditionally (#6459)
This commit is contained in:
		
							parent
							
								
									1b944f3255
								
							
						
					
					
						commit
						9ba6a90193
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -126,7 +126,9 @@ void ShaderD24S8toRGBA8::Reinterpret(Surface& source, Common::Rectangle<u32> src | ||||||
|     glUniform2i(src_offset_loc, src_rect.left, src_rect.bottom); |     glUniform2i(src_offset_loc, src_rect.left, src_rect.bottom); | ||||||
|     glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); |     glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); | ||||||
| 
 | 
 | ||||||
|     temp_tex.Release(); |     if (use_texture_view) { | ||||||
|  |         temp_tex.Release(); | ||||||
|  |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| } // namespace OpenGL
 | } // namespace OpenGL
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue