Skip to content
Snippets Groups Projects
Commit e7bdf8b2 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

textures: Fix texture buffer size calculation

parent 84027f48
No related branches found
No related tags found
No related merge requests found
...@@ -213,7 +213,7 @@ struct TICEntry { ...@@ -213,7 +213,7 @@ struct TICEntry {
if (header_version != TICHeaderVersion::OneDBuffer) { if (header_version != TICHeaderVersion::OneDBuffer) {
return width_minus_1 + 1; 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 { u32 Height() const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment