summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-26 18:12:10 +0100
committerGitHub <noreply@github.com>2019-02-26 18:12:10 +0100
commit10d1d58390cfb7eae40adb98ab9397eb3204b5ae (patch)
treec7e812e137239c9e66215a78d325829c4df6ef3c
parentMerge pull request #2156 from FreddyFunk/patch-1 (diff)
parentrenderer_opengl: Update pixel format tracking (diff)
downloadyuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar
yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar.gz
yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar.bz2
yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar.lz
yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar.xz
yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar.zst
yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.zip
Diffstat (limited to '')
-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) {