mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
testvulkan.c: fix -Wmissing-braces warnings. also fix whitespace.
This commit is contained in:
parent
20ca1192d2
commit
239c8f1f4c
@ -495,7 +495,7 @@ static void findPhysicalDevice(void)
|
||||
|
||||
static void createDevice(void)
|
||||
{
|
||||
VkDeviceQueueCreateInfo deviceQueueCreateInfo[1] = {0};
|
||||
VkDeviceQueueCreateInfo deviceQueueCreateInfo[1] = { {0} };
|
||||
static const float queuePriority[] = {1.0f};
|
||||
VkDeviceCreateInfo deviceCreateInfo = {0};
|
||||
static const char *const deviceExtensionNames[] = {
|
||||
@ -1024,7 +1024,7 @@ static SDL_bool render(void)
|
||||
uint32_t frameIndex;
|
||||
VkResult result;
|
||||
double currentTime;
|
||||
VkClearColorValue clearColor = {0};
|
||||
VkClearColorValue clearColor = { {0} };
|
||||
VkPipelineStageFlags waitDestStageMask = VK_PIPELINE_STAGE_TRANSFER_BIT;
|
||||
VkSubmitInfo submitInfo = {0};
|
||||
VkPresentInfoKHR presentInfo = {0};
|
||||
|
Loading…
Reference in New Issue
Block a user