summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/pgxp_gpu.c
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-05-03 17:02:53 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-05-03 17:02:53 +0100
commit4b706847d4ffbaa72b2d2a39130f71b0d2a401b6 (patch)
tree174f8766f99489a04be9763dd68b02bf5c8da108 /plugins/peopsxgl/pgxp_gpu.c
parent216c2ff3aefc9e0295ed9b1486935d65f6c13f55 (diff)
downloadpcsxr-4b706847d4ffbaa72b2d2a39130f71b0d2a401b6.tar.gz
Ensure w is reset to 1.f to prevent stale values.
Diffstat (limited to 'plugins/peopsxgl/pgxp_gpu.c')
-rw-r--r--plugins/peopsxgl/pgxp_gpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/peopsxgl/pgxp_gpu.c b/plugins/peopsxgl/pgxp_gpu.c
index 98b7a94d..67b381d8 100644
--- a/plugins/peopsxgl/pgxp_gpu.c
+++ b/plugins/peopsxgl/pgxp_gpu.c
@@ -115,6 +115,8 @@ void PGXP_glVertexfv(GLfloat* pV)
// pass complete vertex to OpenGL
glVertex4fv(pV);
vertexIdx++;
+
+ pV[3] = 1.f;
}
else
{