summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index a266e21cf..5ca9821b7 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -270,10 +270,9 @@ void RendererOpenGL::ConfigureFramebufferTexture(TextureInfo& texture,
270 GLint internal_format; 270 GLint internal_format;
271 switch (framebuffer.pixel_format) { 271 switch (framebuffer.pixel_format) {
272 case Tegra::FramebufferConfig::PixelFormat::ABGR8: 272 case Tegra::FramebufferConfig::PixelFormat::ABGR8:
273 // Use RGBA8 and swap in the fragment shader
274 internal_format = GL_RGBA; 273 internal_format = GL_RGBA;
275 texture.gl_format = GL_RGBA; 274 texture.gl_format = GL_RGBA;
276 texture.gl_type = GL_UNSIGNED_INT_8_8_8_8; 275 texture.gl_type = GL_UNSIGNED_INT_8_8_8_8_REV;
277 gl_framebuffer_data.resize(texture.width * texture.height * 4); 276 gl_framebuffer_data.resize(texture.width * texture.height * 4);
278 break; 277 break;
279 default: 278 default: