Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2012-09-07 15:06:45 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2012-09-07 15:06:45 +0400
commita9105a7deaccbd98c4e994d8f0f041bef4179bfa (patch)
treefc7fcebc23cdd2f580b32c7c629198497c6531ef /intern/cycles/render/attribute.h
parent8b6046cdad1325a82e0d161fdca0118e62f36b2d (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/attribute.h')
-rw-r--r--intern/cycles/render/attribute.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/attribute.h b/intern/cycles/render/attribute.h
index e95bf42f6ae..d05952edfd7 100644
--- a/intern/cycles/render/attribute.h
+++ b/intern/cycles/render/attribute.h
@@ -21,6 +21,7 @@
#include "kernel_types.h"
+#include "util_attribute.h"
#include "util_list.h"
#include "util_param.h"
#include "util_types.h"