From: notaz Date: Thu, 1 Mar 2012 22:19:23 +0000 (+0200) Subject: gpu-gles: schtruck/fpse merge: rearrangement X-Git-Tag: r14~5 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26bce74061b6172c227016663a9511b6c74124e2;p=pcsx_rearmed.git gpu-gles: schtruck/fpse merge: rearrangement no idea what this does --- 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();