From: notaz Date: Mon, 16 Jan 2012 22:46:50 +0000 (+0200) Subject: gpu-gles: schtruck/fpse merge: additional calls X-Git-Tag: r14~23 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad38f92fe406f2f0c9008e5a85d7e02a6410f9e5;p=pcsx_rearmed.git gpu-gles: schtruck/fpse merge: additional calls no idea what these are for --- diff --git a/plugins/gpu-gles/gpuDraw.c b/plugins/gpu-gles/gpuDraw.c index 69d2d7be..d7d67619 100644 --- a/plugins/gpu-gles/gpuDraw.c +++ b/plugins/gpu-gles/gpuDraw.c @@ -442,9 +442,13 @@ 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(); glMatrixMode(GL_PROJECTION); glError(); // init projection with psx resolution glLoadIdentity(); glError(); + glOrtho(0,PSXDisplay.DisplayMode.x, PSXDisplay.DisplayMode.y, 0, -1, 1); glError();