diff options
Diffstat (limited to 'layers/draw_state.cpp')
| -rw-r--r-- | layers/draw_state.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 9dbabae9..97e31fe5 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -1032,11 +1032,11 @@ static void resetCB(const XGL_CMD_BUFFER cb) } // Reset CB state XGL_FLAGS saveFlags = pCB->flags; - XGL_QUEUE_TYPE saveQT = pCB->queueType; + uint32_t saveQueueNodeIndex = pCB->queueNodeIndex; memset(pCB, 0, sizeof(GLOBAL_CB_NODE)); pCB->cmdBuffer = cb; pCB->flags = saveFlags; - pCB->queueType = saveQT; + pCB->queueNodeIndex = saveQueueNodeIndex; pCB->lastVtxBinding = MAX_BINDING; } } @@ -1873,7 +1873,7 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateCommandBuffer(XGL_DEVICE device, con memset(pCB, 0, sizeof(GLOBAL_CB_NODE)); pCB->cmdBuffer = *pCmdBuffer; pCB->flags = pCreateInfo->flags; - pCB->queueType = pCreateInfo->queueType; + pCB->queueNodeIndex = pCreateInfo->queueNodeIndex; pCB->lastVtxBinding = MAX_BINDING; cmdBufferMap[*pCmdBuffer] = pCB; loader_platform_thread_unlock_mutex(&globalLock); |
