mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
GPU: Correct point width/height.
Oops, shouldn't be half in 3D transform.
This commit is contained in:
1 parent
1d76e55f84
commit
ea6d0f07e4
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user