Don't operate on short_ptr.

This commit is contained in:
Bartosz Taudul 2021-01-15 20:25:07 +01:00
parent 44020487d2
commit d827832d4d

View File

@ -5175,7 +5175,7 @@ void Worker::ProcessGpuZoneBeginImpl( GpuEvent* zone, const QueueGpuZoneBegin& e
{ {
m_data.gpuCnt++; m_data.gpuCnt++;
auto ctx = m_gpuCtxMap[ev.context]; auto ctx = m_gpuCtxMap[ev.context].get();
assert( ctx ); assert( ctx );
CheckSourceLocation( ev.srcloc ); CheckSourceLocation( ev.srcloc );