diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2015-06-09 10:48:55 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobin@lunarg.com> | 2015-06-10 13:06:54 -0600 |
| commit | 8bfbd8b76a4d15ff758d49d8685d1fb7158d01fb (patch) | |
| tree | 44bb06e6efc11f2a140d1232cd2e58be872e3d4c /layers | |
| parent | 8c557cec834a9ca0ae33cb4355624a37f015448d (diff) | |
| download | usermoji-8bfbd8b76a4d15ff758d49d8685d1fb7158d01fb.tar.xz | |
layers: XChange #58 fix - Correctly copy Vtx Bindings
Diffstat (limited to 'layers')
| -rwxr-xr-x | layers/draw_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 3306e371..4496765a 100755 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -425,7 +425,7 @@ static void initPipeline(PIPELINE_NODE* pPipeline, const VkGraphicsPipelineCreat if (pPipeline->vtxBindingCount) { pPipeline->pVertexBindingDescriptions = new VkVertexInputBindingDescription[pPipeline->vtxBindingCount]; bufferSize = pPipeline->vtxBindingCount * sizeof(VkVertexInputBindingDescription); - memcpy((void*)pPipeline->pVertexBindingDescriptions, ((VkPipelineVertexInputCreateInfo*)pTrav)->pVertexAttributeDescriptions, bufferSize); + memcpy((void*)pPipeline->pVertexBindingDescriptions, ((VkPipelineVertexInputCreateInfo*)pTrav)->pVertexBindingDescriptions, bufferSize); } pPipeline->vtxAttributeCount = pVICI->attributeCount; if (pPipeline->vtxAttributeCount) { |
