diff options
author | Subv <subv2112@gmail.com> | 2018-04-18 21:17:05 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-18 21:17:28 +0200 |
commit | 43d98ca8fee384c5aef462dd37200477e9de2013 (patch) | |
tree | 2cd2be881337d77a0da33c6db8a8bcc4007349e9 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | GLCache: Unify texture and framebuffer formats when converting to OpenGL. (diff) | |
download | yuzu-43d98ca8fee384c5aef462dd37200477e9de2013.tar yuzu-43d98ca8fee384c5aef462dd37200477e9de2013.tar.gz yuzu-43d98ca8fee384c5aef462dd37200477e9de2013.tar.bz2 yuzu-43d98ca8fee384c5aef462dd37200477e9de2013.tar.lz yuzu-43d98ca8fee384c5aef462dd37200477e9de2013.tar.xz yuzu-43d98ca8fee384c5aef462dd37200477e9de2013.tar.zst yuzu-43d98ca8fee384c5aef462dd37200477e9de2013.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 9522a35ea..13e2a77ce 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -527,6 +527,8 @@ bool RasterizerOpenGL::AccelerateDisplay(const Tegra::FramebufferConfig& framebu src_params.block_height = Tegra::Texture::TICEntry::DefaultBlockHeight; src_params.pixel_format = SurfaceParams::PixelFormatFromGPUPixelFormat(framebuffer.pixel_format); + src_params.component_type = + SurfaceParams::ComponentTypeFromGPUPixelFormat(framebuffer.pixel_format); src_params.UpdateParams(); MathUtil::Rectangle<u32> src_rect; |