diff options
author | notaz | 2012-01-20 23:47:54 +0200 |
---|---|---|
committer | notaz | 2012-01-21 00:05:13 +0200 |
commit | edee4a7fc46dd881c2a45d14ce569fbfd8336516 (patch) | |
tree | 85d18b45d6cadf8fa22a39476982c1cc467a616d /plugins | |
parent | 0cc470cd9595e0ceced745a2293510f8eca094c6 (diff) | |
download | pcsx_rearmed-edee4a7fc46dd881c2a45d14ce569fbfd8336516.tar.gz pcsx_rearmed-edee4a7fc46dd881c2a45d14ce569fbfd8336516.tar.bz2 pcsx_rearmed-edee4a7fc46dd881c2a45d14ce569fbfd8336516.zip |
gpu-gles: remove scissor test disable on fills
to keep borders black when centered
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gpu-gles/gpuPrim.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gpu-gles/gpuPrim.c b/plugins/gpu-gles/gpuPrim.c index e9f4ca2..2f200eb 100644 --- a/plugins/gpu-gles/gpuPrim.c +++ b/plugins/gpu-gles/gpuPrim.c @@ -2284,7 +2284,7 @@ void primBlkFill(unsigned char * baseAddr) b=((GLclampf)BLUE(gpuData[0]))/255.0f;
r=((GLclampf)RED(gpuData[0]))/255.0f;
- glDisable(GL_SCISSOR_TEST); glError();
+ //glDisable(GL_SCISSOR_TEST); glError();
glClearColor(r,g,b,1.0f); glError();
glClear(uiBufferBits); glError();
gl_z=0.0f;
@@ -2317,7 +2317,7 @@ void primBlkFill(unsigned char * baseAddr) }
}
- glEnable(GL_SCISSOR_TEST); glError();
+ //glEnable(GL_SCISSOR_TEST); glError();
}
else
{
@@ -2327,9 +2327,9 @@ void primBlkFill(unsigned char * baseAddr) SetRenderMode((unsigned long)0x01000000, FALSE);
vertex[0].c.lcol=gpuData[0]|0xff000000;
SETCOL(vertex[0]);
- glDisable(GL_SCISSOR_TEST); glError();
+ //glDisable(GL_SCISSOR_TEST); glError();
PRIMdrawQuad(&vertex[0], &vertex[1], &vertex[2], &vertex[3]);
- glEnable(GL_SCISSOR_TEST); glError();
+ //glEnable(GL_SCISSOR_TEST); glError();
}
}
|