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/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/gpu.c')
| -rwxr-xr-x | plugins/peopsxgl/gpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/peopsxgl/gpu.c b/plugins/peopsxgl/gpu.c index 2237351d..60be981b 100755 --- a/plugins/peopsxgl/gpu.c +++ b/plugins/peopsxgl/gpu.c @@ -2995,7 +2995,8 @@ ENDVRAM: for (unsigned int i = 0; i < 4; i++) //iCB: remove stale vertex data { vertex[i].x = vertex[i].y = 0.f; - vertex[i].z = 1.f; + vertex[i].z = 0.95f; + vertex[i].w = 1.f; } primFunc[gpuCommand]((unsigned char *)gpuDataM); |
