X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu-gles%2FgpuDraw.c;h=b6191046aaa14a73bc213b899be2e7d7dc53c5e9;hp=ebb3bf0696fb54d5a37fb21445765c0133a0a88e;hb=665f33e1e8ce2e40a7939a33075c3bce1c90790c;hpb=bb88ec28db0535102b70a7c18ef095cb904e3c6c 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();