diff options
| author | 2014-04-17 17:47:34 -0400 | |
|---|---|---|
| committer | 2014-04-17 17:47:34 -0400 | |
| commit | 9d5a561c1b611bf5e501e8b67f0e9670c42adb19 (patch) | |
| tree | f6bc5a520d98f680a7f3375e2bbf251e45f8793e /src | |
| parent | added a new function wrapper (diff) | |
| download | yuzu-9d5a561c1b611bf5e501e8b67f0e9670c42adb19.tar.gz yuzu-9d5a561c1b611bf5e501e8b67f0e9670c42adb19.tar.xz yuzu-9d5a561c1b611bf5e501e8b67f0e9670c42adb19.zip | |
fixed framebuffer color order
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 6cac968ed..168de9253 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp | |||
| @@ -86,7 +86,7 @@ void RendererOpenGL::RenderXFB(const Rect& src_rect, const Rect& dst_rect) { | |||
| 86 | // Update textures with contents of XFB in RAM - top | 86 | // Update textures with contents of XFB in RAM - top |
| 87 | glBindTexture(GL_TEXTURE_2D, m_xfb_texture_top); | 87 | glBindTexture(GL_TEXTURE_2D, m_xfb_texture_top); |
| 88 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, VideoCore::kScreenTopWidth, VideoCore::kScreenTopHeight, | 88 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, VideoCore::kScreenTopWidth, VideoCore::kScreenTopHeight, |
| 89 | GL_RGB, GL_UNSIGNED_BYTE, m_xfb_top_flipped); | 89 | GL_BGR, GL_UNSIGNED_BYTE, m_xfb_top_flipped); |
| 90 | glBindTexture(GL_TEXTURE_2D, 0); | 90 | glBindTexture(GL_TEXTURE_2D, 0); |
| 91 | 91 | ||
| 92 | // Render target is destination framebuffer | 92 | // Render target is destination framebuffer |