gfxstream: Fix GfxStreamVulkanMapper.cpp build error

../src/gfxstream/guest/platform/kumquat/vulkan-mapper/GfxStreamVulkanMapper.cpp: In static member function ‘static GfxStreamVulkanMapper* GfxStreamVulkanMapper::getInstance(std::optional<DeviceId>)’:
../src/gfxstream/guest/platform/kumquat/vulkan-mapper/GfxStreamVulkanMapper.cpp:208:30: error: ‘os_get_option’ was not declared in this scope
  208 |         const char* driver = os_get_option(VK_ICD_FILENAMES);
      |

Fixes: 222b85328e ("mesa: replace most occurrences of getenv() with os_get_option()")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38331>
This commit is contained in:
Vinson Lee
2025-11-08 13:29:57 -08:00
committed by Marge Bot
parent 894c47e384
commit 1889f1a779
@@ -12,6 +12,7 @@
#include "util/detect_os.h"
#include "util/log.h"
#include "util/os_misc.h"
#include "virtgpu_kumquat_ffi.h"
#if DETECT_OS_WINDOWS