fix: panorama

This commit is contained in:
Fireblade
2026-07-02 21:09:39 -04:00
parent c1f2096ea6
commit e92a063e63
37 changed files with 625 additions and 285 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ intArray ZoomLayer::getArea(int xo, int yo, int w, int h)
{
int px = xo >> 1;
int py = yo >> 1;
int pw = (w >> 1) + 3;
int ph = (h >> 1) + 3;
int pw = (w >> 1) + 2;
int ph = (h >> 1) + 2;
intArray p = parent->getArea(px, py, pw, ph);
intArray tmp = IntCache::allocate((pw * 2) * (ph * 2));