mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
48d62409f8
commit
da77eb55d5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue