From 5b7f400b7b57f661d57afbcfe2fedb5146add1e5 Mon Sep 17 00:00:00 2001 From: pupbrained Date: Sat, 19 Oct 2024 22:04:21 -0400 Subject: [PATCH] weh --- flake.nix | 2 +- src/util/unique_image.hpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index fd3eb81..b12bee2 100644 --- a/flake.nix +++ b/flake.nix @@ -136,7 +136,7 @@ vulkanPaths = lib.concatStringsSep ":" (map (file: "${vulkanDir}/${file}") vulkanFiles); in if stdenv.hostPlatform.isx86_64 - then "${linuxPackages_latest.nvidia_x11_vulkan_beta}/share/vulkan/icd.d/nvidia_icd.x86_64.json:${vulkanPaths}" + then "${linuxPackages_latest.nvidia_x11_beta}/share/vulkan/icd.d/nvidia_icd.x86_64.json:${vulkanPaths}" else vulkanPaths; shellHook = '' diff --git a/src/util/unique_image.hpp b/src/util/unique_image.hpp index 7c8dcd1..92c7af4 100644 --- a/src/util/unique_image.hpp +++ b/src/util/unique_image.hpp @@ -30,9 +30,9 @@ namespace stb { /** * @brief Move constructor for UniqueImage. * - * Transfers ownership of resources from another UniqueImage object. - * * @param other The UniqueImage object from which to move resources. + * + * Transfers ownership of resources from another UniqueImage object. */ UniqueImage(UniqueImage&& other) noexcept : mData(other.mData), mWidth(other.mWidth), mHeight(other.mHeight), mChannels(other.mChannels) { @@ -42,10 +42,10 @@ namespace stb { /** * @brief Move assignment operator for UniqueImage. * - * Transfers ownership of resources from another UniqueImage object. - * * @param other The UniqueImage object from which to move resources. * @return Reference to this object. + * + * Transfers ownership of resources from another UniqueImage object. */ fn operator=(UniqueImage&& other) noexcept -> UniqueImage& { if (this != &other) {