diff options
-rw-r--r-- | MODULE.bazel | 2 | ||||
-rw-r--r-- | hk21/game/gpu.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/MODULE.bazel b/MODULE.bazel index 141b761..fe49455 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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/",
)
diff --git a/hk21/game/gpu.cpp b/hk21/game/gpu.cpp index d8533be..3fe0a8b 100644 --- a/hk21/game/gpu.cpp +++ b/hk21/game/gpu.cpp @@ -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)
{
|