Skip to content

Commit

Permalink
fixed MINGW compiler warnings in debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
ec- committed Jan 25, 2025
1 parent 66550f1 commit 5aa9e75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/renderervk/vk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ static qboolean vk_create_device( VkPhysicalDevice physical_device, int device_i
devaddr_features.bufferDeviceAddress = VK_TRUE;
devaddr_features.bufferDeviceAddressCaptureReplay = VK_FALSE;
devaddr_features.bufferDeviceAddressMultiDevice = VK_FALSE;
pNextPtr = &devaddr_features.pNext;
pNextPtr = (const void **)&devaddr_features.pNext;
}

if ( storage8bit ) {
Expand All @@ -1722,7 +1722,7 @@ static qboolean vk_create_device( VkPhysicalDevice physical_device, int device_i
storage_8bit_features.storageBuffer8BitAccess = VK_TRUE;
storage_8bit_features.storagePushConstant8 = VK_FALSE;
storage_8bit_features.uniformAndStorageBuffer8BitAccess = VK_TRUE;
pNextPtr = &storage_8bit_features.pNext;
pNextPtr = (const void **)&storage_8bit_features.pNext;
}
#endif
res = qvkCreateDevice( physical_device, &device_desc, NULL, &vk.device );
Expand Down

0 comments on commit 5aa9e75

Please sign in to comment.