From c5b8dbe8f67a4893a8162c770cdf821422458262 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 4 Apr 2024 01:57:51 +0800 Subject: [PATCH] match new function's name for VertexInputLayout --- CMSceneGraph | 2 +- src/SceneGraph/Vulkan/VKRenderable.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMSceneGraph b/CMSceneGraph index 0f9713fb..8110a4ca 160000 --- a/CMSceneGraph +++ b/CMSceneGraph @@ -1 +1 @@ -Subproject commit 0f9713fb95f4bf1e23a46d3d256db2fb416dbdc3 +Subproject commit 8110a4cade5a91b11082f62c3952834ef39b0ec3 diff --git a/src/SceneGraph/Vulkan/VKRenderable.cpp b/src/SceneGraph/Vulkan/VKRenderable.cpp index c46da50d..ed0630db 100644 --- a/src/SceneGraph/Vulkan/VKRenderable.cpp +++ b/src/SceneGraph/Vulkan/VKRenderable.cpp @@ -59,7 +59,7 @@ Renderable *CreateRenderable(Primitive *prim,MaterialInstance *mi,Pipeline *p) VertexInputData *vid=new VertexInputData(input_count,prim->GetVertexCount(),prim->GetIndexBufferData()); - const VertexInputFormat *vif=vil->GetFormatList(VertexInputGroup::Basic); + const VertexInputFormat *vif=vil->GetVIFList(VertexInputGroup::Basic); VBOAccessData vad; for(uint i=0;i