Need to ifdef the CUDA registration (we need a better mechanism...)

Closes #21.
This commit is contained in:
manuelk 2012-06-18 15:25:49 -07:00
parent 3ead9514cd
commit a2fad75855

View File

@ -580,7 +580,9 @@ MStatus initializePlugin( MObject obj )
//XXX:cleanup Need to register other kernel dispatchers.
OpenSubdiv::OsdCpuKernelDispatcher::Register();
#if OPENSUBDIV_HAS_CUDA
OpenSubdiv::OsdCudaKernelDispatcher::Register();
#endif
return status;
}