Skip to content
Snippets Groups Projects
Commit 07827193 authored by Simon McVittie's avatar Simon McVittie
Browse files

runtime: Move an assertion closer to the place where it matters

parent a74d57f9
No related branches found
No related tags found
No related merge requests found
......@@ -1168,12 +1168,12 @@ pv_runtime_use_host_graphics_stack (PvRuntime *self,
g_ptr_array_add (vulkan_icd_details, icd_details_new (icd));
}
g_assert (multiarch_tuples[G_N_ELEMENTS (multiarch_tuples) - 1] == NULL);
/* We set this FALSE later if we decide not to use the host libc for
* some architecture. */
self->all_libc_from_host = TRUE;
g_assert (multiarch_tuples[G_N_ELEMENTS (multiarch_tuples) - 1] == NULL);
for (i = 0; i < G_N_ELEMENTS (multiarch_tuples) - 1; i++)
{
g_autofree gchar *tool = g_strdup_printf ("%s-capsule-capture-libs",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment