mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-22 16:30:57 +01:00
fixed framebuffer color order
This commit is contained in:
parent
f0797dcf1f
commit
9d5a561c1b
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void RendererOpenGL::RenderXFB(const Rect& src_rect, const Rect& dst_rect) {
|
|||
// Update textures with contents of XFB in RAM - top
|
||||
glBindTexture(GL_TEXTURE_2D, m_xfb_texture_top);
|
||||
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, VideoCore::kScreenTopWidth, VideoCore::kScreenTopHeight,
|
||||
GL_RGB, GL_UNSIGNED_BYTE, m_xfb_top_flipped);
|
||||
GL_BGR, GL_UNSIGNED_BYTE, m_xfb_top_flipped);
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
|
||||
// Render target is destination framebuffer
|
||||
|
|
Loading…
Reference in a new issue