Cycles: some warning fixes, cpu device task tweaks, avoid unnecessary

tonemap in non-viewport render, and some utility functions.
This commit is contained in:
Brecht Van Lommel
2011-09-08 18:58:07 +00:00
parent 6b134ae357
commit 9b31cba74e
18 changed files with 170 additions and 136 deletions

View File

@@ -113,5 +113,10 @@ string system_cpu_brand_string()
return "Unknown CPU";
}
int system_cpu_bits()
{
return (sizeof(void*)*8);
}
CCL_NAMESPACE_END