diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-25 23:40:08 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-25 23:40:08 +0200 |
commit | 18d24fbdd00ee2d05cd02c2794d56b396118f9d5 (patch) | |
tree | 09d8f49d420fc4ef304e833015dd109f92c379f0 /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | gl_resource_manager: Correct MakeStreamCopy (diff) | |
download | yuzu-18d24fbdd00ee2d05cd02c2794d56b396118f9d5.tar yuzu-18d24fbdd00ee2d05cd02c2794d56b396118f9d5.tar.gz yuzu-18d24fbdd00ee2d05cd02c2794d56b396118f9d5.tar.bz2 yuzu-18d24fbdd00ee2d05cd02c2794d56b396118f9d5.tar.lz yuzu-18d24fbdd00ee2d05cd02c2794d56b396118f9d5.tar.xz yuzu-18d24fbdd00ee2d05cd02c2794d56b396118f9d5.tar.zst yuzu-18d24fbdd00ee2d05cd02c2794d56b396118f9d5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index cdc44a60c..8da81dba3 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -90,17 +90,17 @@ public: } u32 GetWidth() const { - const auto owner_params = GetSurfaceParams(); + const auto& owner_params = GetSurfaceParams(); return owner_params.GetMipWidth(params.base_level); } u32 GetHeight() const { - const auto owner_params = GetSurfaceParams(); + const auto& owner_params = GetSurfaceParams(); return owner_params.GetMipHeight(params.base_level); } u32 GetDepth() const { - const auto owner_params = GetSurfaceParams(); + const auto& owner_params = GetSurfaceParams(); return owner_params.GetMipDepth(params.base_level); } |