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:
f82c625
)
psx_gpu: more limit checking
author
notaz
<notasas@gmail.com>
Sun, 7 Oct 2012 16:34:51 +0000
(19:34 +0300)
committer
notaz
<notasas@gmail.com>
Sun, 7 Oct 2012 17:30:40 +0000
(20:30 +0300)
plugins/gpu_neon/psx_gpu/psx_gpu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu.c
b/plugins/gpu_neon/psx_gpu/psx_gpu.c
index
cf6e2be
..
68996c1
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu.c
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu.c
@@
-2970,7
+2970,7
@@
void render_triangle(psx_gpu_struct *psx_gpu, vertex_struct *vertexes,
vertex_swap(a, b);
}
- if((c->x - a->x) >= 1024)
+ if((c->x -
psx_gpu->offset_x) >= 1024 || (c->x -
a->x) >= 1024)
{
#ifdef PROFILE
trivial_rejects++;