forked from bartvdbraak/blender
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:
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user