Latte: Small refactor and clean up for texture size code

This commit is contained in:
Exzap 2024-03-10 23:36:47 +01:00
parent 0993658c82
commit dd7cb74cd2
13 changed files with 64 additions and 110 deletions

View file

@ -764,7 +764,7 @@ void VulkanRenderer::HandleScreenshotRequest(LatteTextureView* texView, bool pad
//dumpImage->flagForCurrentCommandBuffer();
int width, height;
LatteTexture_getEffectiveSize(baseImageTex, &width, &height, nullptr, 0);
baseImageTex->GetEffectiveSize(width, height, 0);
VkImage image = nullptr;
VkDeviceMemory imageMemory = nullptr;;