mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Latte: Small refactor and clean up for texture size code
This commit is contained in:
parent
0993658c82
commit
dd7cb74cd2
13 changed files with 64 additions and 110 deletions
|
@ -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;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue