Upgrade asl

This commit is contained in:
2025-02-04 00:38:49 +01:00
parent ef3bf642b5
commit a5b3b7ce6a
2 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,7 @@ bazel_dep(name = "sdl3_windows", version = "3.2.0")
bazel_dep(name = "asl")
git_override(
module_name = "asl",
commit = "a89e72929ed047344e221f65542e763e3f6ac3de",
commit = "3d5a45b283d2a59211f9e24f100b95169375213d",
remote = "https://git.stevenlr.com/460nm/asl.git/",
)

View File

@ -180,8 +180,7 @@ static asl::status_or<PhysicalDeviceInfo> find_physical_device(VkInstance instan
VkPhysicalDeviceProperties prps;
vkGetPhysicalDeviceProperties(physical_device, &prps);
// @Todo(asl) Add from_zstr to asl::string_view
asl::string_view name{prps.deviceName, asl::strlen(prps.deviceName)};
auto name = asl::string_view::from_zstr(prps.deviceName);
if (prps.apiVersion < kTargetVersion)
{