mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
renderer_vulkan: Fix narrowing byte conversion
Fixes a compilation error on Unix platforms.
This commit is contained in:
parent
5ded99d326
commit
a73c8c7c86
1 changed files with 1 additions and 1 deletions
|
|
@ -1605,7 +1605,7 @@ Framebuffer::Framebuffer(TextureRuntime& runtime, const VideoCore::FramebufferPa
|
|||
Surface* color, Surface* depth)
|
||||
: VideoCore::FramebufferParams{params}, instance{runtime.GetInstance()},
|
||||
res_scale{color ? color->res_scale : (depth ? depth->res_scale : 1u)},
|
||||
sample_count{color ? color->sample_count : (depth ? depth->sample_count : 1u)} {
|
||||
sample_count{color ? color->sample_count : (depth ? depth->sample_count : u8(1u))} {
|
||||
auto& renderpass_cache = runtime.GetRenderpassCache();
|
||||
if (shadow_rendering && !color) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue