Cycles / OSLGlobals:

* Fixes for changes in the Open Shading Langauge API from version 0.6.0: 11ce51418b

* Removed the need for ShadingSystemImpl.
This commit is contained in:
Thomas Dinges
2012-08-31 20:31:21 +00:00
parent 7ac0dd2953
commit fda711a851
2 changed files with 23 additions and 20 deletions

View File

@@ -60,7 +60,7 @@ struct OSLGlobals {
/* thread key for thread specific data lookup */
struct ThreadData {
OSL::ShaderGlobals globals;
void *thread_info;
OSL::PerThreadInfo *thread_info;
};
static tls_ptr(ThreadData, thread_data);