aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-06-09 10:48:55 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-06-10 13:06:54 -0600
commit8bfbd8b76a4d15ff758d49d8685d1fb7158d01fb (patch)
tree44bb06e6efc11f2a140d1232cd2e58be872e3d4c /layers
parent8c557cec834a9ca0ae33cb4355624a37f015448d (diff)
downloadusermoji-8bfbd8b76a4d15ff758d49d8685d1fb7158d01fb.tar.xz
layers: XChange #58 fix - Correctly copy Vtx Bindings
Diffstat (limited to 'layers')
-rwxr-xr-xlayers/draw_state.cpp2
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) {