Upgrade asl
This commit is contained in:
@ -15,7 +15,7 @@ bazel_dep(name = "sdl3_windows", version = "3.2.0")
|
|||||||
bazel_dep(name = "asl")
|
bazel_dep(name = "asl")
|
||||||
git_override(
|
git_override(
|
||||||
module_name = "asl",
|
module_name = "asl",
|
||||||
commit = "a89e72929ed047344e221f65542e763e3f6ac3de",
|
commit = "3d5a45b283d2a59211f9e24f100b95169375213d",
|
||||||
remote = "https://git.stevenlr.com/460nm/asl.git/",
|
remote = "https://git.stevenlr.com/460nm/asl.git/",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -180,8 +180,7 @@ static asl::status_or<PhysicalDeviceInfo> find_physical_device(VkInstance instan
|
|||||||
VkPhysicalDeviceProperties prps;
|
VkPhysicalDeviceProperties prps;
|
||||||
vkGetPhysicalDeviceProperties(physical_device, &prps);
|
vkGetPhysicalDeviceProperties(physical_device, &prps);
|
||||||
|
|
||||||
// @Todo(asl) Add from_zstr to asl::string_view
|
auto name = asl::string_view::from_zstr(prps.deviceName);
|
||||||
asl::string_view name{prps.deviceName, asl::strlen(prps.deviceName)};
|
|
||||||
|
|
||||||
if (prps.apiVersion < kTargetVersion)
|
if (prps.apiVersion < kTargetVersion)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user