destroy pipline layout
This commit is contained in:
parent
8cc0b081ef
commit
b2af1ca699
2 changed files with 5 additions and 3 deletions
|
@ -29,7 +29,9 @@ XeRenderSystem::XeRenderSystem(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
XeRenderSystem::~XeRenderSystem() {};
|
XeRenderSystem::~XeRenderSystem() {
|
||||||
|
vkDestroyPipelineLayout(xeDevice.device(), pipelineLayout, nullptr);
|
||||||
|
};
|
||||||
|
|
||||||
void XeRenderSystem::createUniformBuffers(XeDescriptorPool &xeDescriptorPool, XeDescriptorSetLayout &xeDescriptorSetLayout, uint32_t uniformBufferDataSize) {
|
void XeRenderSystem::createUniformBuffers(XeDescriptorPool &xeDescriptorPool, XeDescriptorSetLayout &xeDescriptorSetLayout, uint32_t uniformBufferDataSize) {
|
||||||
if(uniformBufferDataSize == 0) return;
|
if(uniformBufferDataSize == 0) return;
|
||||||
|
|
|
@ -26,9 +26,9 @@ void FirstApp::run() {
|
||||||
|
|
||||||
SimpleRenderer renderer{xeEngine};
|
SimpleRenderer renderer{xeEngine};
|
||||||
|
|
||||||
xeEngine.getCamera().setViewTarget(glm::vec3(-1.f, -2.f, 20.f), glm::vec3(0.f, 0.f, 2.5f));
|
|
||||||
|
|
||||||
auto viewerObject = xe::XeGameObject::createGameObject();
|
auto viewerObject = xe::XeGameObject::createGameObject();
|
||||||
|
viewerObject.transform.translation = {-7.f, 3.f, -7.f};
|
||||||
|
viewerObject.transform.rotation.y = glm::radians(45.f);
|
||||||
KeyboardMovementController cameraController{};
|
KeyboardMovementController cameraController{};
|
||||||
|
|
||||||
while (xeEngine.poll()) {
|
while (xeEngine.poll()) {
|
||||||
|
|
Loading…
Reference in a new issue