mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
Load Vulkan dynamically. Fix Android build (though - Vulkan is not working on Android yet)
This commit is contained in:
1 parent
5a72564583
commit
2481714a8e
21 files changed
+733
-171
No files matched your search
@@ -75,7 +75,7 @@ extern int g_iNumVideos;
|
||||
|
||||
SamplerCache::~SamplerCache() {
|
||||
for (auto iter : cache_) {
|
||||
vulkan_->QueueDelete(iter.second);
|
||||
vulkan_->Delete().QueueDeleteSampler(iter.second);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -848,8 +848,8 @@ void TextureCacheVulkan::SetTextureFramebuffer(TexCacheEntry *entry, VirtualFram
|
||||
|
||||
void TextureCacheVulkan::ApplyTexture(VkImageView &imageView, VkSampler &sampler) {
|
||||
if (nextTexture_ == nullptr) {
|
||||
imageView = nullptr;
|
||||
sampler = nullptr;
|
||||
imageView = VK_NULL_HANDLE;
|
||||
sampler = VK_NULL_HANDLE;
|
||||
return;
|
||||
}
|
||||
VkCommandBuffer cmd = nullptr;
|
||||
|
||||
Reference in new issue
Block a user