diff --git a/src/gallium/frontends/rusticl/api/platform.rs b/src/gallium/frontends/rusticl/api/platform.rs index be8592d1871..0ddf2538aba 100644 --- a/src/gallium/frontends/rusticl/api/platform.rs +++ b/src/gallium/frontends/rusticl/api/platform.rs @@ -17,7 +17,7 @@ unsafe impl CLInfo for cl_platform_id { match q { CL_PLATFORM_EXTENSIONS => v.write::<&str>(PLATFORM_EXTENSION_STR), CL_PLATFORM_EXTENSIONS_WITH_VERSION => { - v.write::>(PLATFORM_EXTENSIONS.to_vec()) + v.write::<&[cl_name_version]>(&PLATFORM_EXTENSIONS) } CL_PLATFORM_HOST_TIMER_RESOLUTION => v.write::(1), CL_PLATFORM_ICD_SUFFIX_KHR => v.write::<&CStr>(c"MESA"),