Code cleanup
This commit is contained in:
parent
0f56b8270d
commit
fb895169ba
2 changed files with 7 additions and 7 deletions
|
|
@ -53,7 +53,7 @@ public:
|
|||
struct UniformBuffer : VulkanBuffer {
|
||||
// The descriptor set stores the resources bound to the binding points in a shader
|
||||
// It connects the binding points of the different shaders with the buffers and images used for those bindings
|
||||
VkDescriptorSet descriptorSet;
|
||||
VkDescriptorSet descriptorSet{ VK_NULL_HANDLE };
|
||||
// We keep a pointer to the mapped buffer, so we can easily update it's contents via a memcpy
|
||||
uint8_t* mapped{ nullptr };
|
||||
};
|
||||
|
|
@ -817,7 +817,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
}
|
||||
return (DefWindowProc(hWnd, uMsg, wParam, lParam));
|
||||
}
|
||||
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pCmdLine, int nCmdShow)
|
||||
int APIENTRY WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR, _In_ int)
|
||||
{
|
||||
for (size_t i = 0; i < __argc; i++) { VulkanExample::args.push_back(__argv[i]); };
|
||||
vulkanExample = new VulkanExample();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue