GPU: Correct point width/height.

Oops, shouldn't be half in 3D transform.
This commit is contained in:
Unknown W. Brackets 2021-10-31 13:19:51 -07:00
parent 1d76e55f84
commit ea6d0f07e4

View file

@ -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;