Cycles: disable OpenCL in builds for now, since it's not working and is only

confusing users at this point. For experiments you can define the
CYCLES_OPENCL_TEST environment variable to make it show up in the UI.
This commit is contained in:
Brecht Van Lommel 2012-11-06 19:58:51 +00:00
parent 64467e3ffa
commit ccffb6811c

@ -140,6 +140,10 @@ int clLibraryInit()
#endif
int error = 0;
// OpenCL disabled for now, only works with this environment variable set
if(!getenv("CYCLES_OPENCL_TEST"))
return 0;
// Check if already initialized
if (module != NULL)
{