summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-02-26 07:47:16 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-26 07:47:16 +0100
commitd91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70 (patch)
treec7e812e137239c9e66215a78d325829c4df6ef3c /src
parentMerge pull request #2156 from FreddyFunk/patch-1 (diff)
downloadyuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar.gz
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar.bz2
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar.lz
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar.xz
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar.zst
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 272fc2e8e..e60b2eb44 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -257,6 +257,7 @@ void RendererOpenGL::ConfigureFramebufferTexture(TextureInfo& texture,
const Tegra::FramebufferConfig& framebuffer) {
texture.width = framebuffer.width;
texture.height = framebuffer.height;
+ texture.pixel_format = framebuffer.pixel_format;
GLint internal_format;
switch (framebuffer.pixel_format) {