You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension()
This commit is contained in:
@@ -382,7 +382,8 @@ bool OpenXRVulkanExtension::get_swapchain_image_data(XrSwapchain p_swapchain, in
|
||||
p_width,
|
||||
p_height,
|
||||
1,
|
||||
p_array_size);
|
||||
p_array_size,
|
||||
1);
|
||||
|
||||
texture_rids.push_back(image_rid);
|
||||
|
||||
@@ -396,7 +397,8 @@ bool OpenXRVulkanExtension::get_swapchain_image_data(XrSwapchain p_swapchain, in
|
||||
density_images[i].width,
|
||||
density_images[i].height,
|
||||
1,
|
||||
p_array_size);
|
||||
p_array_size,
|
||||
1);
|
||||
|
||||
density_map_rids.push_back(density_map_rid);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user