From 216c2ff3aefc9e0295ed9b1486935d65f6c13f55 Mon Sep 17 00:00:00 2001 From: iCatButler Date: Mon, 2 May 2016 15:01:27 +0100 Subject: Fix bugs from previous Fix stray triangles - Switch to full floating point RTPS/RTPT - Clamp w values to near plane Fix texture corruption in 1.78, copy 2.4 Tweak - Remove matrix replacement - Add W component to vertices - Wrap glVertex3fv calls - Use counter to call glVertex4fv for PGXP vertices only --- plugins/peopsxgl/pgxp_gpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/peopsxgl/pgxp_gpu.h') diff --git a/plugins/peopsxgl/pgxp_gpu.h b/plugins/peopsxgl/pgxp_gpu.h index 35fb5698..97c5b615 100644 --- a/plugins/peopsxgl/pgxp_gpu.h +++ b/plugins/peopsxgl/pgxp_gpu.h @@ -28,8 +28,11 @@ #ifndef _PGXP_GPU_H_ #define _PGXP_GPU_H_ +#include "stdafx.h" + void PGXP_SetMatrix(float left, float right, float bottom, float top, float zNear, float zFar); void PGXP_SetAddress(unsigned int addr); int PGXP_GetVertices(unsigned int* addr, void* pOutput, int xOffs, int yOffs); +void PGXP_glVertexfv(GLfloat* pVertex); #endif // _PGXP_GPU_H_ -- cgit v1.2.3