Skip to content

Rename misleading variables

Simon McVittie requested to merge wip/misleading-vars into master
  • runtime: Rename some misleading variables

    Paths derived from self->overrides are valid in the current execution environment, but if we're running in a Flatpak environment, that's not the host. Rename them accordingly.

  • runtime: Rename another misleading variable

    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.


/cc @denittis

Merge request reports

Loading