mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-26 21:40:07 +00:00
Need to ifdef the CUDA registration (we need a better mechanism...)
Closes #21.
This commit is contained in:
parent
3ead9514cd
commit
a2fad75855
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user