weh
This commit is contained in:
parent
31f772eb2d
commit
5b7f400b7b
|
@ -136,7 +136,7 @@
|
||||||
vulkanPaths = lib.concatStringsSep ":" (map (file: "${vulkanDir}/${file}") vulkanFiles);
|
vulkanPaths = lib.concatStringsSep ":" (map (file: "${vulkanDir}/${file}") vulkanFiles);
|
||||||
in
|
in
|
||||||
if stdenv.hostPlatform.isx86_64
|
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;
|
else vulkanPaths;
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|
|
@ -30,9 +30,9 @@ namespace stb {
|
||||||
/**
|
/**
|
||||||
* @brief Move constructor for UniqueImage.
|
* @brief Move constructor for UniqueImage.
|
||||||
*
|
*
|
||||||
* Transfers ownership of resources from another UniqueImage object.
|
|
||||||
*
|
|
||||||
* @param other The UniqueImage object from which to move resources.
|
* @param other The UniqueImage object from which to move resources.
|
||||||
|
*
|
||||||
|
* Transfers ownership of resources from another UniqueImage object.
|
||||||
*/
|
*/
|
||||||
UniqueImage(UniqueImage&& other) noexcept
|
UniqueImage(UniqueImage&& other) noexcept
|
||||||
: mData(other.mData), mWidth(other.mWidth), mHeight(other.mHeight), mChannels(other.mChannels) {
|
: mData(other.mData), mWidth(other.mWidth), mHeight(other.mHeight), mChannels(other.mChannels) {
|
||||||
|
@ -42,10 +42,10 @@ namespace stb {
|
||||||
/**
|
/**
|
||||||
* @brief Move assignment operator for UniqueImage.
|
* @brief Move assignment operator for UniqueImage.
|
||||||
*
|
*
|
||||||
* Transfers ownership of resources from another UniqueImage object.
|
|
||||||
*
|
|
||||||
* @param other The UniqueImage object from which to move resources.
|
* @param other The UniqueImage object from which to move resources.
|
||||||
* @return Reference to this object.
|
* @return Reference to this object.
|
||||||
|
*
|
||||||
|
* Transfers ownership of resources from another UniqueImage object.
|
||||||
*/
|
*/
|
||||||
fn operator=(UniqueImage&& other) noexcept -> UniqueImage& {
|
fn operator=(UniqueImage&& other) noexcept -> UniqueImage& {
|
||||||
if (this != &other) {
|
if (this != &other) {
|
||||||
|
|
Loading…
Reference in a new issue