diff --git a/CMakeLists.txt b/CMakeLists.txt index 8132dc95..ea413441 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ if (VULKAN_SDK) set(ENV{VULKAN_SDK} ${VULKAN_SDK}) endif() -find_package(vsg 1.1.13) +find_package(vsg 1.1.14) vsg_setup_dir_vars() vsg_setup_build_vars() diff --git a/examples/state/vsgsampler/vsgsampler.cpp b/examples/state/vsgsampler/vsgsampler.cpp index d598d9ff..b28d9374 100644 --- a/examples/state/vsgsampler/vsgsampler.cpp +++ b/examples/state/vsgsampler/vsgsampler.cpp @@ -223,7 +223,7 @@ int main(int argc, char** argv) else { auto mipmapLayout = image->getMipmapLayout(); - auto [width, height, depth] = image->pixelExtents(); + auto [width, height, depth, numLayers] = image->pixelExtents(); vsg::vec2 extents(width, height); // default mipmap settings