mirror of
https://github.com/libretro/parallel-dc.git
synced 2026-11-07 12:37:53 -10:00
Vulkan: fix the 32-bit builds
On 32-bit targets Vulkan-Hpp handles have no implicit conversion to their C type, so hand the pipeline cache to hdr_vk_new() with an explicit cast.
This commit is contained in:
1 parent
28592e1dfe
commit
e7085e20fe
1 file changed
+1
-1
@@ -518,7 +518,7 @@ bool VulkanContext::Init(retro_hw_render_interface_vulkan *retro_render_if)
|
||||
code.bloom[i] = RasterSpvWords(bloom[i], &code.bloom_size[i]);
|
||||
}
|
||||
code.post = RasterSpvWords(RSPV_HDR_POST_FRAG, &code.post_size);
|
||||
hdr = hdr_vk_new(retro_render_if, heap.Raw(), pipelineCache, hdrFormat, (unsigned)swapChainSize, &code);
|
||||
hdr = hdr_vk_new(retro_render_if, heap.Raw(), (VkPipelineCache)pipelineCache, hdrFormat, (unsigned)swapChainSize, &code);
|
||||
if (hdr == nullptr)
|
||||
ERROR_LOG(RENDERER, "Vulkan: the HDR output could not be set up; the picture goes out as 24-bit");
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user