From 4b706847d4ffbaa72b2d2a39130f71b0d2a401b6 Mon Sep 17 00:00:00 2001 From: iCatButler Date: Tue, 3 May 2016 17:02:53 +0100 Subject: Ensure w is reset to 1.f to prevent stale values. --- plugins/peopsxgl/pgxp_gpu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/peopsxgl/pgxp_gpu.c') 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 { -- cgit v1.2.3