mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
GPU: Correct w on immediate prim.
This commit is contained in:
1 parent
b4bc4c5c78
commit
b4715e4d88
1 file changed
+1
@@ -2259,6 +2259,7 @@ void GPUCommon::Execute_ImmVertexAlphaPrim(u32 op, u32 diff) {
|
||||
v.x = ((gstate.imm_vscx & 0xFFFFFF) - offsetX) / 16.0f;
|
||||
v.y = ((gstate.imm_vscy & 0xFFFFFF) - offsetY) / 16.0f;
|
||||
v.z = gstate.imm_vscz & 0xFFFF;
|
||||
v.posw = 1.0f;
|
||||
v.u = getFloat24(gstate.imm_vtcs);
|
||||
v.v = getFloat24(gstate.imm_vtct);
|
||||
v.w = getFloat24(gstate.imm_vtcq);
|
||||
|
||||
Reference in new issue
Block a user