- Remove unnecessary libs from USE_GL and add required. - Fix build on 32bit ARCHS, upstream issue: https://github.com/PixarAnimationStudios/OpenSubdiv/issues/1198#issuecomment-2143940211 - Make options OPENMP (for supported ARCHS) and PTEX default. - EXAMPLES and OPENCL can build together without errors. - Remove NO_GL_TESTS - upstream removed it. - Sort options and pet portclippy. PR: 279472 Approved by: Shane <FreeBSD@ShaneWare.Biz> (maintainer)
12 lines
671 B
C
12 lines
671 B
C
--- opensubdiv/hbr/mesh.h.orig 2023-09-14 19:19:06 UTC
|
|
+++ opensubdiv/hbr/mesh.h
|
|
@@ -215,7 +215,7 @@ template <class T> class HbrMesh { (public)
|
|
void SetFVarPropagateCorners(bool p) { fvarpropagatecorners = p; }
|
|
|
|
// Register routines for keeping track of memory usage
|
|
- void RegisterMemoryRoutines(void (*increment)(unsigned long bytes), void (*decrement)(unsigned long bytes)) {
|
|
+ void RegisterMemoryRoutines(void (*increment)(size_t bytes), void (*decrement)(size_t bytes)) {
|
|
m_faceAllocator.SetMemStatsIncrement(increment);
|
|
m_faceAllocator.SetMemStatsDecrement(decrement);
|
|
m_vertexAllocator.SetMemStatsIncrement(increment);
|