Commit d0d66f30 authored by peastman's avatar peastman
Browse files

Fixed error related to autoclear buffers on OpenCL

parent 30d72a5c
......@@ -729,7 +729,7 @@ void OpenCLContext::clearAutoclearBuffers() {
executeKernel(clearTwoBuffersKernel, max(autoclearBufferSizes[base], autoclearBufferSizes[base+1]), 128);
}
else if (total-base == 1) {
clearBuffer(*autoclearBuffers[base], autoclearBufferSizes[base]);
clearBuffer(*autoclearBuffers[base], autoclearBufferSizes[base]*4);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment