gpu-gles: schtruck/fpse merge: rearrangement
authornotaz <notasas@gmail.com>
Thu, 1 Mar 2012 22:19:23 +0000 (00:19 +0200)
committernotaz <notasas@gmail.com>
Thu, 1 Mar 2012 22:19:23 +0000 (00:19 +0200)
no idea what this does

plugins/gpu-gles/gpuDraw.c

index ebb3bf0..b619104 100644 (file)
@@ -442,6 +442,8 @@ int GLinitialize()
 \r
  //----------------------------------------------------// \r
 \r
+ glDepthRangef(0.0f, 1.0f);glError();\r
+\r
  glViewport(rRatioRect.left,                           // init viewport by ratio rect\r
             iResY-(rRatioRect.top+rRatioRect.bottom),\r
             rRatioRect.right, \r
@@ -455,9 +457,8 @@ 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
//glPolygonOffset( -0.2f, -0.2f );glError();\r
 \r
  glMatrixMode(GL_PROJECTION); glError();               // init projection with psx resolution\r
  glLoadIdentity(); glError();\r