diff options
Diffstat (limited to 'src/gpu-compute/shader.cc')
-rw-r--r-- | src/gpu-compute/shader.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu-compute/shader.cc b/src/gpu-compute/shader.cc index 31aa1e4cf..d02f95d29 100644 --- a/src/gpu-compute/shader.cc +++ b/src/gpu-compute/shader.cc @@ -116,10 +116,10 @@ Shader::~Shader() } void -Shader::updateThreadContext(int tid) { - // thread context of the thread which dispatched work +Shader::updateContext(int cid) { + // context of the thread which dispatched work assert(cpuPointer); - gpuTc = cpuPointer->getContext(tid); + gpuTc = cpuPointer->getContext(cid); assert(gpuTc); } |