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:
authorCampbell Barton <ideasman42@gmail.com>2017-04-11 17:49:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-11 17:56:19 +0300
commite8ddd258efb0e473ea6ab2668ac0c2a86bd868a3 (patch)
tree42cc386bbedbcbc1e59c44028464903c1ac5488f /source/blender/draw/intern/draw_common.h
parent5a4fceff1b10e18fffc1d536e71e47b27ed40402 (diff)
Correct own error in adding colors
Make comment regarding GLSL more clear.
Diffstat (limited to 'source/blender/draw/intern/draw_common.h')
-rw-r--r--source/blender/draw/intern/draw_common.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/draw/intern/draw_common.h b/source/blender/draw/intern/draw_common.h
index b234adc7b99..ff57f5c5397 100644
--- a/source/blender/draw/intern/draw_common.h
+++ b/source/blender/draw/intern/draw_common.h
@@ -32,9 +32,8 @@ struct Batch;
struct Object;
struct SceneLayer;
-/* Used as ubo but colors can be directly
- * referenced as well */
-/* Keep in sync with globalsBlock in shaders */
+/* Used as ubo but colors can be directly referenced as well */
+/* Keep in sync with: common_globals_lib.glsl (globalsBlock) */
typedef struct GlobalsUboStorage {
/* UBOs data needs to be 16 byte aligned (size of vec4) */
float colorWire[4];
@@ -119,4 +118,4 @@ void DRW_shgroup_armature_edit(
struct Object *ob, struct DRWPass *pass_bone_solid,
struct DRWPass *pass_bone_wire, struct DRWShadingGroup *shgrp_relationship_lines);
-#endif /* __DRAW_COMMON__ */ \ No newline at end of file
+#endif /* __DRAW_COMMON__ */