gpu-gles: schtruck/fpse merge: additional calls
authornotaz <notasas@gmail.com>
Mon, 16 Jan 2012 22:46:50 +0000 (00:46 +0200)
committernotaz <notasas@gmail.com>
Wed, 18 Jan 2012 23:42:10 +0000 (01:42 +0200)
no idea what these are for

plugins/gpu-gles/gpuDraw.c

index 69d2d7b..d7d6761 100644 (file)
@@ -442,9 +442,13 @@ int GLinitialize()
  glLoadIdentity();\r
  glScalef(1.0f/255.99f,1.0f/255.99f,1.0f);             // geforce precision hack\r
 #endif \r
+ glDepthRangef(0.0f, 1.0f);glError();\r
\r
+ glPolygonOffset( -0.2f, -0.2f );glError();\r
 \r
  glMatrixMode(GL_PROJECTION); glError();               // init projection with psx resolution\r
  glLoadIdentity(); glError();\r
+\r
  glOrtho(0,PSXDisplay.DisplayMode.x,\r
          PSXDisplay.DisplayMode.y, 0, -1, 1); glError();\r
 \r