aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles
diff options
context:
space:
mode:
authornotaz2012-03-02 00:19:23 +0200
committernotaz2012-03-02 00:19:23 +0200
commit26bce74061b6172c227016663a9511b6c74124e2 (patch)
tree5464c3a1968846a222da23e3c641a66fe5e783c3 /plugins/gpu-gles
parent3a40ff141abca7d9c5a1e3f47e41c26d9bc3b3ff (diff)
downloadpcsx_rearmed-26bce74061b6172c227016663a9511b6c74124e2.tar.gz
pcsx_rearmed-26bce74061b6172c227016663a9511b6c74124e2.tar.bz2
pcsx_rearmed-26bce74061b6172c227016663a9511b6c74124e2.zip
gpu-gles: schtruck/fpse merge: rearrangement
no idea what this does
Diffstat (limited to 'plugins/gpu-gles')
-rw-r--r--plugins/gpu-gles/gpuDraw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/gpu-gles/gpuDraw.c b/plugins/gpu-gles/gpuDraw.c
index ebb3bf0..b619104 100644
--- a/plugins/gpu-gles/gpuDraw.c
+++ b/plugins/gpu-gles/gpuDraw.c
@@ -442,6 +442,8 @@ int GLinitialize()
//----------------------------------------------------//
+ glDepthRangef(0.0f, 1.0f);glError();
+
glViewport(rRatioRect.left, // init viewport by ratio rect
iResY-(rRatioRect.top+rRatioRect.bottom),
rRatioRect.right,
@@ -455,9 +457,8 @@ 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();
+ //glPolygonOffset( -0.2f, -0.2f );glError();
glMatrixMode(GL_PROJECTION); glError(); // init projection with psx resolution
glLoadIdentity(); glError();