Add threading error notes

This commit is contained in:
twinaphex 2017-05-06 17:35:12 +02:00
parent 0e2318998e
commit ed86a2ed10

View File

@ -389,6 +389,9 @@ static bool gfx_ctx_x_set_resize(void *data,
#ifdef HAVE_VULKAN
{
gfx_ctx_x_data_t *x = (gfx_ctx_x_data_t*)data;
/* FIXME/TODO - threading error here */
if (!vulkan_create_swapchain(&x->vk, width, height, x->g_interval))
{
RARCH_ERR("[X/Vulkan]: Failed to update swapchain.\n");
@ -801,6 +804,8 @@ static bool gfx_ctx_x_set_video_mode(void *data,
x11_check_window(x, &quit, &resize, &width, &height,
shutdown);
/* FIXME/TODO - threading error here */
/* Use XCB surface since it's the most supported WSI.
* We can obtain the XCB connection directly from X11. */
if (!vulkan_surface_create(&x->vk, VULKAN_WSI_XCB,