diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-18 06:07:08 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-18 06:07:08 +0200 |
commit | e7bdf8b22a94c1d7066ef967788e9b7ffe481283 (patch) | |
tree | f0f65b4929f7447dd9a6ecd09b3dbe542ab72fd3 /src/video_core | |
parent | gl_texture_cache: Do not set texture parameters to buffers (diff) | |
download | yuzu-e7bdf8b22a94c1d7066ef967788e9b7ffe481283.tar yuzu-e7bdf8b22a94c1d7066ef967788e9b7ffe481283.tar.gz yuzu-e7bdf8b22a94c1d7066ef967788e9b7ffe481283.tar.bz2 yuzu-e7bdf8b22a94c1d7066ef967788e9b7ffe481283.tar.lz yuzu-e7bdf8b22a94c1d7066ef967788e9b7ffe481283.tar.xz yuzu-e7bdf8b22a94c1d7066ef967788e9b7ffe481283.tar.zst yuzu-e7bdf8b22a94c1d7066ef967788e9b7ffe481283.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/textures/texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h index e3be018b9..e36bc2c04 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h @@ -213,7 +213,7 @@ struct TICEntry { if (header_version != TICHeaderVersion::OneDBuffer) { return width_minus_1 + 1; } - return (buffer_high_width_minus_one << 16) | buffer_low_width_minus_one; + return ((buffer_high_width_minus_one << 16) | buffer_low_width_minus_one) + 1; } u32 Height() const { |