This commit is contained in:
Mars 2024-10-19 22:04:21 -04:00
parent 31f772eb2d
commit 5b7f400b7b
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
2 changed files with 5 additions and 5 deletions

View file

@ -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 = ''

View file

@ -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) {