diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2016-05-03 17:02:53 +0100 |
|---|---|---|
| committer | iCatButler <i.am.catbutler@gmail.com> | 2016-05-03 17:02:53 +0100 |
| commit | 4b706847d4ffbaa72b2d2a39130f71b0d2a401b6 (patch) | |
| tree | 174f8766f99489a04be9763dd68b02bf5c8da108 /plugins/peopsxgl/pgxp_gpu.c | |
| parent | 216c2ff3aefc9e0295ed9b1486935d65f6c13f55 (diff) | |
| download | pcsxr-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.c | 2 |
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
{
|
