diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2019-10-25 11:22:19 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-11 12:04:54 +0100 |
| commit | 2af701fa03037aed2cd544cc4fa4fe6ec81510bf (patch) | |
| tree | f82cc5708d7bbc27835b2b2ebf9bd5f82348ba70 /drivers/vulkan/rendering_device_vulkan.h | |
| parent | a60edae5060664b32fd24a3970b027171f358045 (diff) | |
| download | redot-engine-2af701fa03037aed2cd544cc4fa4fe6ec81510bf.tar.gz | |
Use a different strategy to get textures from GPU (via buffers), for more compatibility.
Diffstat (limited to 'drivers/vulkan/rendering_device_vulkan.h')
| -rw-r--r-- | drivers/vulkan/rendering_device_vulkan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.h b/drivers/vulkan/rendering_device_vulkan.h index 6b7d9e7c98..0dc3cc702b 100644 --- a/drivers/vulkan/rendering_device_vulkan.h +++ b/drivers/vulkan/rendering_device_vulkan.h @@ -150,7 +150,7 @@ class RenderingDeviceVulkan : public RenderingDevice { RID_Owner<Texture, true> texture_owner; uint32_t texture_upload_region_size_px; - PoolVector<uint8_t> _texture_get_data_from_image(Texture *tex, VkImage p_image, VmaAllocation p_allocation, uint32_t p_layer); + PoolVector<uint8_t> _texture_get_data_from_image(Texture *tex, VkImage p_image, VmaAllocation p_allocation, uint32_t p_layer, bool p_2d = false); /*****************/ /**** SAMPLER ****/ |
