Commit f06983d
Fix texture cache region size and broken rendering when tilting the viewport (#3867)
* Fix rotation for render cache
* Simplify code and fix zoom not invalidating cache
* Add constant for quantization amount
* fix region size
* print error when splitting oversized region fails
---------
Co-authored-by: Timon <me@timon.zip>1 parent 52d2b38 commit f06983d
2 files changed
Lines changed: 93 additions & 109 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
129 | 135 | | |
130 | 136 | | |
131 | 137 | | |
| |||
0 commit comments