mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
96773f39e1
vk->surface is a handle and not a pointer, so assign VK_NULL_HANDLE. This fixes the following build error on 32bit Windows when using clang for example, which errors out when assigning a 32bit pointer to a 64bit integer: ../mpv-0.35.0/video/out/vulkan/utils.c:37:21: error: incompatible pointer to integer conversion assigning to 'VkSurfaceKHR' (aka 'unsigned long long') from 'void *' [-Wint-conversion] vk->surface = NULL; ^ ~~~~ |
||
---|---|---|
.. | ||
common.h | ||
context_android.c | ||
context_display.c | ||
context_wayland.c | ||
context_win.c | ||
context_xlib.c | ||
context.c | ||
context.h | ||
utils.c | ||
utils.h |