summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/pgxp_gpu.h
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-05-02 15:01:27 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-05-02 15:01:27 +0100
commit216c2ff3aefc9e0295ed9b1486935d65f6c13f55 (patch)
tree88791c94e67ac8a5b99b9b39238ca4513077adf6 /plugins/peopsxgl/pgxp_gpu.h
parent153c8eb4997d21d3b2965cf38d4348f05c29860f (diff)
downloadpcsxr-216c2ff3aefc9e0295ed9b1486935d65f6c13f55.tar.gz
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
Diffstat (limited to 'plugins/peopsxgl/pgxp_gpu.h')
-rw-r--r--plugins/peopsxgl/pgxp_gpu.h3
1 files changed, 3 insertions, 0 deletions
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_