diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-09-07 15:06:45 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-09-07 15:06:45 +0400 |
commit | a9105a7deaccbd98c4e994d8f0f041bef4179bfa (patch) | |
tree | fc7fcebc23cdd2f580b32c7c629198497c6531ef /intern/cycles/render/scene.h | |
parent | 8b6046cdad1325a82e0d161fdca0118e62f36b2d (diff) |
Fix for Cycles (CUDA) compilation (again ...). Moved the AttributeStandard enum typedef and the attribute_standard_name mapping function to util_attribute/util_types headers, so they can properly be used by kernel and render files alike. This should avoid any std C includes which are not available in CUDA. Thanks to Sergey for help!
Diffstat (limited to 'intern/cycles/render/scene.h')
-rw-r--r-- | intern/cycles/render/scene.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h index f6c1ef44146..09087fb2970 100644 --- a/intern/cycles/render/scene.h +++ b/intern/cycles/render/scene.h @@ -25,6 +25,7 @@ #include "kernel_types.h" +#include "util_attribute.h" #include "util_param.h" #include "util_string.h" #include "util_thread.h" |