GPU: Correct point width/height.
Oops, shouldn't be half in 3D transform.
This commit is contained in:
parent
1d76e55f84
commit
ea6d0f07e4
1 changed files with 2 additions and 2 deletions
|
@ -801,8 +801,8 @@ void SoftwareTransform::ExpandPoints(int vertexCount, int &maxIndex, u16 *&inds,
|
|||
u16 *newInds = inds + vertexCount;
|
||||
u16 *indsOut = newInds;
|
||||
|
||||
float dx = 0.5f * gstate_c.vpWidthScale * (1.0f / gstate.getViewportXScale());
|
||||
float dy = 0.5f * gstate_c.vpHeightScale *(1.0f / gstate.getViewportYScale());
|
||||
float dx = 1.0f * gstate_c.vpWidthScale * (1.0f / gstate.getViewportXScale());
|
||||
float dy = 1.0f * gstate_c.vpHeightScale * (1.0f / gstate.getViewportYScale());
|
||||
float du = 1.0f / gstate_c.curTextureWidth;
|
||||
float dv = 1.0f / gstate_c.curTextureHeight;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue