mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
GPU: Correct w on immediate prim.
This commit is contained in:
parent
b4bc4c5c78
commit
b4715e4d88
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user