updated library
This commit is contained in:
parent
b6b5bce4f2
commit
473de1f5c5
|
@ -38,7 +38,7 @@ Topology::Topology(lol::ObjectManager& manager, const glm::vec2& size, const glm
|
|||
}
|
||||
}
|
||||
|
||||
std::shared_ptr<lol::VertexBuffer> vertexBuffer = std::make_shared<lol::VertexBuffer>(vertices.size(), vertices);
|
||||
std::shared_ptr<lol::VertexBuffer> vertexBuffer = std::make_shared<lol::VertexBuffer>(vertices);
|
||||
vertexBuffer->SetLayout(
|
||||
{
|
||||
{ lol::Type::Float, 2, false },
|
||||
|
@ -46,7 +46,7 @@ Topology::Topology(lol::ObjectManager& manager, const glm::vec2& size, const glm
|
|||
}
|
||||
);
|
||||
|
||||
std::shared_ptr<lol::ElementBuffer> elementBuffer = std::make_shared<lol::ElementBuffer>(indices.size(), indices);
|
||||
std::shared_ptr<lol::ElementBuffer> elementBuffer = std::make_shared<lol::ElementBuffer>(indices);
|
||||
|
||||
vao->SetVertexBuffer(vertexBuffer);
|
||||
vao->SetElementBuffer(elementBuffer);
|
||||
|
|
2
vendor/lol
vendored
2
vendor/lol
vendored
|
@ -1 +1 @@
|
|||
Subproject commit e80cfee1fee47a44ee61139dea8f6dd062d7cc5c
|
||||
Subproject commit 9306dbaae70b7b915e723ab9a084118f5a969bdf
|
Loading…
Reference in a new issue