Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    4bc0958b
    runtime: Rename another misleading variable · 4bc0958b
    Simon McVittie authored
    
    srt_vulkan_layer_get_json_path() and srt_vulkan_icd_get_json_path()
    return paths relative to the SrtSystemInfo's sysroot (the graphics driver
    provider), which might be the root filesystem, but might equally be
    /run/host when we're running inside Flatpak. Rename this variable
    accordingly.
    
    We were already using it correctly: the third argument to
    pv_runtime_take_from_provider() is a path in the provider sysroot.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    4bc0958b
    History
    runtime: Rename another misleading variable
    Simon McVittie authored
    
    srt_vulkan_layer_get_json_path() and srt_vulkan_icd_get_json_path()
    return paths relative to the SrtSystemInfo's sysroot (the graphics driver
    provider), which might be the root filesystem, but might equally be
    /run/host when we're running inside Flatpak. Rename this variable
    accordingly.
    
    We were already using it correctly: the third argument to
    pv_runtime_take_from_provider() is a path in the provider sysroot.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>