diff options
| author | 2019-02-26 12:12:10 -0500 | |
|---|---|---|
| committer | 2019-02-26 12:12:10 -0500 | |
| commit | 10d1d58390cfb7eae40adb98ab9397eb3204b5ae (patch) | |
| tree | c7e812e137239c9e66215a78d325829c4df6ef3c /src | |
| parent | Merge pull request #2156 from FreddyFunk/patch-1 (diff) | |
| parent | renderer_opengl: Update pixel format tracking (diff) | |
| download | yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar.gz yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.tar.xz yuzu-10d1d58390cfb7eae40adb98ab9397eb3204b5ae.zip | |
Merge pull request #2164 from ReinUsesLisp/configure-blit
renderer_opengl: Update pixel format tracking
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 1 |
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) { |