diff options
author | notaz | 2012-03-02 00:19:23 +0200 |
---|---|---|
committer | notaz | 2012-03-02 00:19:23 +0200 |
commit | 26bce74061b6172c227016663a9511b6c74124e2 (patch) | |
tree | 5464c3a1968846a222da23e3c641a66fe5e783c3 /plugins | |
parent | 3a40ff141abca7d9c5a1e3f47e41c26d9bc3b3ff (diff) | |
download | pcsx_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')
-rw-r--r-- | plugins/gpu-gles/gpuDraw.c | 5 |
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();
|