Explorar o código

vk_image: Avoid unnecesary equals

Rodrigo Locatti %!s(int64=6) %!d(string=hai) anos
pai
achega
4cbb363d3f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/renderer_vulkan/vk_image.h

+ 1 - 1
src/video_core/renderer_vulkan/vk_image.h

@@ -51,7 +51,7 @@ public:
 
 
 private:
 private:
     struct SubrangeState final {
     struct SubrangeState final {
-        vk::AccessFlags access = {};                          ///< Current access bits.
+        vk::AccessFlags access{};                             ///< Current access bits.
         vk::ImageLayout layout = vk::ImageLayout::eUndefined; ///< Current image layout.
         vk::ImageLayout layout = vk::ImageLayout::eUndefined; ///< Current image layout.
     };
     };