Browse Source

Fix macOS build (#198)

Signed-off-by: Aleksandr Popovich <alekpopo@pm.me>
Co-authored-by: Aleksandr Popovich <alekpopo@pm.me>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/198
pull/21/head
crueter 6 months ago
parent
commit
6bf5ae700a
  1. 2
      src/video_core/renderer_vulkan/vk_rasterizer.cpp

2
src/video_core/renderer_vulkan/vk_rasterizer.cpp

@ -1140,7 +1140,7 @@ void RasterizerVulkan::UpdateDepthBias(Tegra::Engines::Maxwell3D::Regs& regs) {
static constexpr const u64 *start = NEEDS_D24;
static constexpr const u64 *end = NEEDS_D24 + length;
const size_t *it = std::find(start, end, program_id);
const u64 *it = std::find(start, end, program_id);
if (it != end) {
// the base formulas can be obtained from here:

Loading…
Cancel
Save