No point checking this twice.

This commit is contained in:
Alcaro 2016-03-18 17:19:30 +01:00
parent ba90c4afaf
commit f8c31dd56a

View File

@ -410,10 +410,10 @@ static void *gfx_ctx_x_init(void *data)
error:
if (x)
{
gfx_ctx_x_destroy_resources(x);
if (x)
free(x);
}
g_x11_screen = 0;
return NULL;