fix boundary bug of GLSL/GLSLXFB kernels.

This commit is contained in:
Takahito Tejima 2015-01-12 17:02:54 -08:00
parent 0ca61278a5
commit 0178b09a38
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ void computeStencil() {
int current = int(gl_GlobalInvocationID.x) + batchStart;
if (current>batchEnd) {
if (current>=batchEnd) {
return;
}

View File

@ -86,7 +86,7 @@ void computeStencil() {
int current = gl_VertexID + batchStart;
if (current>batchEnd) {
if (current>=batchEnd) {
return;
}