aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles/gpuDraw.c
diff options
context:
space:
mode:
authornotaz2012-01-17 00:46:50 +0200
committernotaz2012-01-19 01:42:10 +0200
commitad38f92fe406f2f0c9008e5a85d7e02a6410f9e5 (patch)
treeda9c3c3fcb6182a4eecf88014036d0db2ededa4e /plugins/gpu-gles/gpuDraw.c
parent9f58cabba9806e2c365c64f7a3701efa6282aa72 (diff)
downloadpcsx_rearmed-ad38f92fe406f2f0c9008e5a85d7e02a6410f9e5.tar.gz
pcsx_rearmed-ad38f92fe406f2f0c9008e5a85d7e02a6410f9e5.tar.bz2
pcsx_rearmed-ad38f92fe406f2f0c9008e5a85d7e02a6410f9e5.zip
gpu-gles: schtruck/fpse merge: additional calls
no idea what these are for
Diffstat (limited to 'plugins/gpu-gles/gpuDraw.c')
-rw-r--r--plugins/gpu-gles/gpuDraw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gpu-gles/gpuDraw.c b/plugins/gpu-gles/gpuDraw.c
index 69d2d7b..d7d6761 100644
--- a/plugins/gpu-gles/gpuDraw.c
+++ b/plugins/gpu-gles/gpuDraw.c
@@ -442,9 +442,13 @@ int GLinitialize()
glLoadIdentity();
glScalef(1.0f/255.99f,1.0f/255.99f,1.0f); // geforce precision hack
#endif
+ glDepthRangef(0.0f, 1.0f);glError();
+
+ glPolygonOffset( -0.2f, -0.2f );glError();
glMatrixMode(GL_PROJECTION); glError(); // init projection with psx resolution
glLoadIdentity(); glError();
+
glOrtho(0,PSXDisplay.DisplayMode.x,
PSXDisplay.DisplayMode.y, 0, -1, 1); glError();