fix stereobm crash on some cpu ocl

This commit is contained in:
yao 2013-06-25 14:12:02 +08:00
parent 6db776f957
commit dbdeff2069

View File

@ -162,8 +162,8 @@ __kernel void stereoKernel(__global unsigned char *left, __global unsigned char
int y_tex;
int x_tex = X - radius;
if (x_tex >= cwidth)
return;
//if (x_tex >= cwidth)
// return;
for(int d = STEREO_MIND; d < maxdisp; d += STEREO_DISP_STEP)
{