mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
Reimplement Bounding Box calculation using the software renderer.
This commit is contained in:
parent
b7aed97508
commit
2d4b7e3f3f
13 changed files with 602 additions and 672 deletions
|
@ -437,12 +437,6 @@ namespace EfbInterface
|
|||
{
|
||||
SetPixelAlphaOnly(offset, dstClrPtr[ALP_C]);
|
||||
}
|
||||
|
||||
// branchless bounding box update
|
||||
PixelEngine::bbox[0] = std::min(x, PixelEngine::bbox[0]);
|
||||
PixelEngine::bbox[1] = std::max(x, PixelEngine::bbox[1]);
|
||||
PixelEngine::bbox[2] = std::min(y, PixelEngine::bbox[2]);
|
||||
PixelEngine::bbox[3] = std::max(y, PixelEngine::bbox[3]);
|
||||
}
|
||||
|
||||
void SetColor(u16 x, u16 y, u8 *color)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue