Fix: Build issue with MSVC

std::min was used without including the algorithm
header. Seems to be implicitly included by
something in newer MSVC versions and GCC, however
vs16.4 needed a little help here.
This commit is contained in:
Ray molenkamp 2022-01-04 07:15:51 -07:00
parent 54e2f851a4
commit bbd0c4118b
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
// Modifications copyright 2021 Blender Foundation. All rights reserved.
#include "internal/evaluator/patch_map.h"
#include <algorithm>
using OpenSubdiv::Far::ConstPatchParamArray;
using OpenSubdiv::Far::Index;