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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user