mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	fix inverted texture dump error message path
This commit is contained in:
		
							parent
							
								
									8b881ac1fc
								
							
						
					
					
						commit
						254f8a4643
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -925,7 +925,7 @@ void CachedSurface::DumpTexture(GLuint target_tex, const std::string& dump_path) | ||||||
|     glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, &decoded_texture[0]); |     glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, &decoded_texture[0]); | ||||||
|     glBindTexture(GL_TEXTURE_2D, 0); |     glBindTexture(GL_TEXTURE_2D, 0); | ||||||
|     Common::FlipRGBA8Texture(decoded_texture, width, height); |     Common::FlipRGBA8Texture(decoded_texture, width, height); | ||||||
|     if (image_interface->EncodePNG(dump_path, decoded_texture, width, height)) |     if (!image_interface->EncodePNG(dump_path, decoded_texture, width, height)) | ||||||
|         LOG_CRITICAL(Render_OpenGL, "Failed to save decoded texture"); |         LOG_CRITICAL(Render_OpenGL, "Failed to save decoded texture"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue