mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Video backends: unify xfregs/xfmem structures.
Removes the duplicate swxfregs global variable/struct from the software backend in favor of the ones from VideoCommon.
This commit is contained in:
parent
fee6efc4dc
commit
818c89313e
16 changed files with 123 additions and 158 deletions
|
@ -270,7 +270,7 @@ void BuildBlock(s32 blockX, s32 blockY)
|
|||
for (unsigned int i = 0; i < bpmem.genMode.numtexgens; i++)
|
||||
{
|
||||
float projection = invW;
|
||||
if (swxfregs.texMtxInfo[i].projection)
|
||||
if (xfregs.texMtxInfo[i].projection)
|
||||
{
|
||||
float q = TexSlopes[i][2].GetValue(dx, dy) * invW;
|
||||
if (q != 0.0f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue