]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/texture2darray_backend.cpp
Store the number of mipmap levels in the Texture base class
[libs/gl.git] / source / backends / vulkan / texture2darray_backend.cpp
index cff3a8160744b1b8c6818ec789f64a9cce5cd282..63e969e8da56c3ab5b6851d8a7d4253bdbe68746 100644 (file)
@@ -14,7 +14,6 @@ void VulkanTexture2DArray::fill_image_info(void *ii) const
        image_info->imageType = VK_IMAGE_TYPE_2D;
        image_info->extent.width = width;
        image_info->extent.height = height;
-       image_info->mipLevels = levels;
        image_info->arrayLayers = depth;
 }