PixarAnimationStudios/OpenSubdiv — pull request #80 by Adenilson (2012-10-23 18:29:27+00:00)
Title: Compilation fix on OSX Lion

The structure VertexKernelBatch is accessed (as also its members) in some places (e.g. bilinear/catmark/loopSubdivisionTables and Factory) but was marked as protected and as a result, makes compilation fail (environment OSX Lion, XCode 4.5.1).

I considered the idea of moving the struct to a new file, but it sounds like overkill for a simple structure. As an alternative, this patch fixes the compilation error by moving the struct declaration/definition to the public part of class FarSubdivisionTables.

This patch was *also* tested in Linux (Ubuntu 11.10, 12.12) 64 bits with Intel's OpenCL and Nvidia/Cuda without any regressions.

Signed-off-by: Adenilson Cavalcanti