Revert "Use one context per OSL thread. Not sure if this actually works, but the...
[blender.git] / intern / cycles / kernel / osl / osl_globals.h
index 17cee67517793d8c2ede3507c95c6906802bc6b5..075c68824e639ce581c650091ac3d2284d33617f 100644 (file)
@@ -64,7 +64,6 @@ struct OSLGlobals {
        struct ThreadData {
                OSL::ShaderGlobals globals;
                OSL::PerThreadInfo *thread_info;
        struct ThreadData {
                OSL::ShaderGlobals globals;
                OSL::PerThreadInfo *thread_info;
-               OSL::ShadingContext *ctx;
        };
 
        static tls_ptr(ThreadData, thread_data);
        };
 
        static tls_ptr(ThreadData, thread_data);