FreeBSD Bugzilla – Attachment 190678 Details for
Bug 225942
[maintainer update] for graphics/openshadinglanguage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
extra blender patch needed for osl 1.9.7
patch-intern_cycles_kernel_osl_osl__closures.cpp (text/plain), 633 bytes, created by
Shane
on 2018-02-16 06:13:15 UTC
(
hide
)
Description:
extra blender patch needed for osl 1.9.7
Filename:
MIME Type:
Creator:
Shane
Created:
2018-02-16 06:13:15 UTC
Size:
633 bytes
patch
obsolete
>--- intern/cycles/kernel/osl/osl_closures.cpp.orig 2018-02-03 15:12:45 UTC >+++ intern/cycles/kernel/osl/osl_closures.cpp >@@ -242,7 +242,11 @@ static void register_closure(OSL::Shadin > /* optimization: it's possible to not use a prepare function at all and > * only initialize the actual class when accessing the closure component > * data, but then we need to map the id to the class somehow */ >+#if OSL_LIBRARY_VERSION_CODE >= 10900 >+ ss->register_closure(name, id, params, prepare, NULL); >+#else > ss->register_closure(name, id, params, prepare, NULL, 16); >+#endif > } > > void OSLShader::register_closures(OSLShadingSystem *ss_)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
FreeBSD
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 225942
:
190677
|
190678
|
192663
|
197039
|
197081
|
199841
|
199842
|
199948
|
199950