mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
softgpu: Fix state race on screen offset.
Caused glitches in Motorstorm.
This commit is contained in:
1 parent
76f9103e97
commit
77db9c818f
1 file changed
+2
-2
@@ -347,8 +347,8 @@ void BinManager::Drain() {
|
||||
int h2 = (queueRange_.y2 - queueRange_.y1 + 31) / 32;
|
||||
|
||||
// Always bin the entire possible range, but focus on the drawn area.
|
||||
ScreenCoords tl = TransformUnit::DrawingToScreen(DrawingCoords(0, 0), 0);
|
||||
ScreenCoords br = TransformUnit::DrawingToScreen(DrawingCoords(1024, 1024), 0);
|
||||
ScreenCoords tl(queueOffsetX_, queueOffsetY_, 0);
|
||||
ScreenCoords br(queueOffsetX_ + 1024 * 16, queueOffsetY_ + 1024 * 16, 0);
|
||||
|
||||
taskRanges_.clear();
|
||||
if (h2 >= 18 && w2 >= h2 * 4) {
|
||||
|
||||
Reference in new issue
Block a user