diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-24 22:57:54 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-26 22:44:50 +0200 |
commit | 8bba84a4014e1bf204089ff7dbcaa73917f84738 (patch) | |
tree | 2775c6a219a18ff4ceed45e4954f6707d7fafd8b /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | Merge pull request #3978 from ReinUsesLisp/write-rz (diff) | |
download | yuzu-8bba84a4014e1bf204089ff7dbcaa73917f84738.tar yuzu-8bba84a4014e1bf204089ff7dbcaa73917f84738.tar.gz yuzu-8bba84a4014e1bf204089ff7dbcaa73917f84738.tar.bz2 yuzu-8bba84a4014e1bf204089ff7dbcaa73917f84738.tar.lz yuzu-8bba84a4014e1bf204089ff7dbcaa73917f84738.tar.xz yuzu-8bba84a4014e1bf204089ff7dbcaa73917f84738.tar.zst yuzu-8bba84a4014e1bf204089ff7dbcaa73917f84738.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index 02d9981a1..0d88d738f 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -110,14 +110,6 @@ public: } private: - u32 EncodeSwizzle(Tegra::Texture::SwizzleSource x_source, - Tegra::Texture::SwizzleSource y_source, - Tegra::Texture::SwizzleSource z_source, - Tegra::Texture::SwizzleSource w_source) const { - return (static_cast<u32>(x_source) << 24) | (static_cast<u32>(y_source) << 16) | - (static_cast<u32>(z_source) << 8) | static_cast<u32>(w_source); - } - OGLTextureView CreateTextureView() const; CachedSurface& surface; @@ -125,7 +117,7 @@ private: GLenum format{}; OGLTextureView texture_view; - u32 swizzle{}; + u32 current_swizzle{}; bool is_proxy{}; }; |