mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	ConvertD24S8toABGR: fix fb attachment
This commit is contained in:
		
							parent
							
								
									d813bc5eb5
								
							
						
					
					
						commit
						9e16a3c449
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1029,6 +1029,7 @@ void RasterizerCacheOpenGL::ConvertD24S8toABGR(GLuint src_tex, | |||
|         glBufferData(GL_PIXEL_PACK_BUFFER, d24s8_abgr_buffer_size, nullptr, GL_STREAM_COPY); | ||||
|     } | ||||
| 
 | ||||
|     glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 0, 0); | ||||
|     glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_TEXTURE_2D, src_tex, | ||||
|                            0); | ||||
|     glReadPixels(static_cast<GLint>(src_rect.left), static_cast<GLint>(src_rect.bottom), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue