- fix palette color problem
This commit is contained in:
parent
96547713d9
commit
b4154f1772
2 changed files with 7 additions and 2 deletions
|
|
@ -61,6 +61,7 @@ VulkanFrameBuffer::VulkanFrameBuffer(void *hMonitor, bool fullscreen, VulkanDevi
|
|||
{
|
||||
device = dev;
|
||||
SetViewportRects(nullptr);
|
||||
InitPalette();
|
||||
}
|
||||
|
||||
VulkanFrameBuffer::~VulkanFrameBuffer()
|
||||
|
|
@ -264,6 +265,8 @@ void VulkanFrameBuffer::SetVSync(bool vsync)
|
|||
|
||||
void VulkanFrameBuffer::CleanForRestart()
|
||||
{
|
||||
// force recreation of the SW scene drawer to ensure it gets a new set of resources.
|
||||
swdrawer.reset();
|
||||
}
|
||||
|
||||
IHardwareTexture *VulkanFrameBuffer::CreateHardwareTexture()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue