From 26bce74061b6172c227016663a9511b6c74124e2 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 2 Mar 2012 00:19:23 +0200 Subject: [PATCH] gpu-gles: schtruck/fpse merge: rearrangement no idea what this does --- plugins/gpu-gles/gpuDraw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/gpu-gles/gpuDraw.c b/plugins/gpu-gles/gpuDraw.c index ebb3bf06..b6191046 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(); -- 2.39.5