Fixed Visual Studio warning 4701
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
Uint8 *src = from; \
|
||||
Uint8 *dst = to; \
|
||||
for (i = 0; i < (int)(length); i++) { \
|
||||
Uint32 s, d; \
|
||||
Uint32 s = 0, d = 0; \
|
||||
unsigned rs, gs, bs, rd, gd, bd; \
|
||||
switch (bpp) { \
|
||||
case 2: \
|
||||
|
||||
@@ -273,7 +273,7 @@ SDL_bool SDL_Vulkan_Display_CreateSurface(void *vkGetInstanceProcAddr_,
|
||||
VkDisplayKHR display;
|
||||
VkDisplayPlanePropertiesKHR *displayPlaneProperties = NULL;
|
||||
VkExtent2D extent;
|
||||
VkDisplayPlaneCapabilitiesKHR planeCaps;
|
||||
VkDisplayPlaneCapabilitiesKHR planeCaps = { 0 };
|
||||
|
||||
/* Get information about the physical displays */
|
||||
result = vkGetPhysicalDeviceDisplayPropertiesKHR(physicalDevice, &displayPropertiesCount, NULL);
|
||||
|
||||
Reference in New Issue
Block a user