notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f58cab
)
gpu-gles: schtruck/fpse merge: additional calls
author
notaz
<notasas@gmail.com>
Mon, 16 Jan 2012 22:46:50 +0000
(
00:46
+0200)
committer
notaz
<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
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpu-gles/gpuDraw.c
b/plugins/gpu-gles/gpuDraw.c
index
69d2d7b
..
d7d6761
100644
(file)
--- a/
plugins/gpu-gles/gpuDraw.c
+++ b/
plugins/gpu-gles/gpuDraw.c
@@
-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