diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-04 19:49:37 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-04 19:49:37 +0300 |
commit | 7595c9ecdafc711c29c6ea8b019c67d3ff0421ad (patch) | |
tree | 310d4f0f89bae2e90693a47ebbacae58ef46efd1 /intern/cycles/kernel/osl | |
parent | 94a064c0e95871cd23fd6208f56f4e016a418327 (diff) |
Cycles: Fix NULL instead of false
Not really noticeable for users, since the compiled code is the same,
but semantically this is incorrect.
Diffstat (limited to 'intern/cycles/kernel/osl')
-rw-r--r-- | intern/cycles/kernel/osl/osl_services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/osl_services.cpp b/intern/cycles/kernel/osl/osl_services.cpp index 0257f569f4a..8215f6522db 100644 --- a/intern/cycles/kernel/osl/osl_services.cpp +++ b/intern/cycles/kernel/osl/osl_services.cpp @@ -1313,7 +1313,7 @@ bool OSLRenderServices::get_texture_info(OSL::ShaderGlobals *sg, /* No texture info for other texture types. */ if (handle && handle->type != OSLTextureHandle::OIIO) { - return NULL; + return false; } /* Get texture info from OpenImageIO. */ |