aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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();