This commit is contained in:
twinaphex 2016-02-19 13:17:03 +01:00
parent 140d65b994
commit 2d5e10e840

View File

@ -1181,7 +1181,7 @@ static bool vulkan_surface_create(gfx_ctx_vulkan_data_t *vk,
{
VkAndroidSurfaceCreateInfoKHR surf_info;
memset(&surf_info, 0, sizeof(VkWaylandSurfaceCreateInfoKHR));
memset(&surf_info, 0, sizeof(VkAndroidSurfaceCreateInfoKHR));
surf_info.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR;
surf_info.flags = 0;
@ -1607,8 +1607,6 @@ static void *gfx_ctx_wl_get_context_data(void *data)
return &wl->vk.context;
}
static void vulkan_present(gfx_ctx_vulkan_data_t *vk, unsigned index)
{
VkResult result = VK_SUCCESS;