Permalink
Browse files

Minor depal state dirtying fix

  • Loading branch information...
hrydgard committed Nov 5, 2017
1 parent eb300d7 commit 066ad469153808d75bc59cfcde73d3c7acd3711c
Showing with 2 additions and 1 deletion.
  1. +1 −1 GPU/Vulkan/DepalettizeShaderVulkan.h
  2. +1 −0 GPU/Vulkan/TextureCacheVulkan.cpp
@@ -33,7 +33,7 @@ class DepalShaderVulkan {
}
// A Vulkan2D pipeline. Set texture to slot 0 and palette texture to slot 1.
VkPipeline pipeline = VK_NULL_HANDLE;
const char *code = nullptr;;
const char *code = nullptr;
};
class DepalTextureVulkan {
@@ -450,6 +450,7 @@ void TextureCacheVulkan::ApplyTextureFramebuffer(TexCacheEntry *entry, VirtualFr
// Need to rebind the pipeline since we switched it.
drawEngine_->DirtyPipeline();
gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE);
} else {
entry->status &= ~TexCacheEntry::STATUS_DEPALETTIZE;

0 comments on commit 066ad46

Please sign in to comment.