summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-02-26 03:47:16 -0300
committerGravatar ReinUsesLisp2019-02-26 03:47:16 -0300
commitd91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70 (patch)
treec7e812e137239c9e66215a78d325829c4df6ef3c
parentMerge pull request #2156 from FreddyFunk/patch-1 (diff)
downloadyuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar.gz
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.tar.xz
yuzu-d91e35a50a2562bb1a3c6f3c06d6bfec69ff1e70.zip
renderer_opengl: Update pixel format tracking
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,
257 const Tegra::FramebufferConfig& framebuffer) { 257 const Tegra::FramebufferConfig& framebuffer) {
258 texture.width = framebuffer.width; 258 texture.width = framebuffer.width;
259 texture.height = framebuffer.height; 259 texture.height = framebuffer.height;
260 texture.pixel_format = framebuffer.pixel_format;
260 261
261 GLint internal_format; 262 GLint internal_format;
262 switch (framebuffer.pixel_format) { 263 switch (framebuffer.pixel_format) {