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

runtime: Clarify what's going on with IcdDetails.kinds[0]

parent 8a64214e
No related branches found
No related tags found
No related merge requests found
...@@ -682,7 +682,10 @@ typedef struct ...@@ -682,7 +682,10 @@ typedef struct
* or (type SrtVaApiDriver) */ * or (type SrtVaApiDriver) */
gpointer icd; gpointer icd;
gchar *resolved_library; gchar *resolved_library;
/* Last entry is always NONEXISTENT */ /* Last entry is always NONEXISTENT.
* For VA-API, we use [0] and ignore the other elements.
* For the rest, this is keyed by the index of a multiarch tuple
* in multiarch_tuples. */
IcdKind kinds[G_N_ELEMENTS (multiarch_tuples)]; IcdKind kinds[G_N_ELEMENTS (multiarch_tuples)];
/* Last entry is always NULL */ /* Last entry is always NULL */
gchar *paths_in_container[G_N_ELEMENTS (multiarch_tuples)]; gchar *paths_in_container[G_N_ELEMENTS (multiarch_tuples)];
......
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