mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
FramebufferVulkan: Fix DrawPixels
This commit is contained in:
1 parent
731af0d0b4
commit
f52fd0c853
3 files changed
+59
-59
No files matched your search
@@ -1288,6 +1288,8 @@ void TextureCacheVulkan::SetTexture(VulkanPushBuffer *uploadBuffer) {
|
||||
delete entry->vkTex;
|
||||
entry->vkTex = nullptr;
|
||||
}
|
||||
} else {
|
||||
// TODO: If reusing an existing texture object, we must transition it into the correct layout.
|
||||
}
|
||||
lastBoundTexture = entry->vkTex;
|
||||
|
||||
@@ -1307,6 +1309,8 @@ void TextureCacheVulkan::SetTexture(VulkanPushBuffer *uploadBuffer) {
|
||||
}
|
||||
}
|
||||
|
||||
entry->vkTex->texture_->EndCreate();
|
||||
|
||||
gstate_c.textureFullAlpha = entry->GetAlphaStatus() == TexCacheEntry::STATUS_ALPHA_FULL;
|
||||
gstate_c.textureSimpleAlpha = entry->GetAlphaStatus() != TexCacheEntry::STATUS_ALPHA_UNKNOWN;
|
||||
|
||||
|
||||
Reference in new issue
Block a user