swr/rast: Fix cache of API thread event manager
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
c68b2d5c79
commit
12adf2c815
|
@ -166,7 +166,7 @@ HANDLE SwrCreateContext(
|
|||
|
||||
#if defined(KNOB_ENABLE_AR)
|
||||
// cache the API thread event manager, for use with sim layer
|
||||
pCreateInfo->hArEventManager = pContext->pArContext[16];
|
||||
pCreateInfo->hArEventManager = pContext->pArContext[pContext->NumWorkerThreads + 1];
|
||||
#endif
|
||||
|
||||
// State setup AFTER context is fully initialized
|
||||
|
|
Loading…
Reference in New Issue