summaryrefslogtreecommitdiffstats
path: root/drivers/vulkan/rendering_device_vulkan.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-10-25 11:22:19 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:04:54 +0100
commit2af701fa03037aed2cd544cc4fa4fe6ec81510bf (patch)
treef82cc5708d7bbc27835b2b2ebf9bd5f82348ba70 /drivers/vulkan/rendering_device_vulkan.h
parenta60edae5060664b32fd24a3970b027171f358045 (diff)
downloadredot-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.h2
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 ****/