swr/rast: Fix bug related to passing AR handle

We were passing a garbage handle. Let's not do that.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
George Kyriazis 2018-02-07 00:39:54 -06:00
parent 48d62409f8
commit da77eb55d5

View file

@ -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[pContext->NumWorkerThreads + 1];
pCreateInfo->hArEventManager = pContext->pArContext[pContext->NumWorkerThreads];
#endif
// State setup AFTER context is fully initialized