Skip to content

Commit 87edefe

Browse files
committed
GPU: Fix merging of calib updates
1 parent 8a5548d commit 87edefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/Global/GPUChainTracking.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ void GPUChainTracking::SetUpdateCalibObjects(const GPUCalibObjectsConst& obj, co
979979
{
980980
std::lock_guard lk(mMutexUpdateCalib);
981981
if (mNewCalibObjects) {
982-
void* const* pSrc = (void* const*)&vals;
982+
void* const* pSrc = (void* const*)&obj;
983983
void** pDst = (void**)mNewCalibObjects.get();
984984
for (unsigned int i = 0; i < sizeof(*mNewCalibObjects) / sizeof(void*); i++) {
985985
if (pSrc[i]) {

0 commit comments

Comments
 (0)