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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-04-26 14:02:13 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-04-26 16:19:03 +0300
commit75e9d59b96f40f353cb6cb0a427cd179fd9e5f24 (patch)
treeedeac9ca4b79d4accd9d92f770a6391e2b797fb9 /source/blender/gpu/intern/gpu_immediate_util.c
parente791e01c0b0b58facf69eef11b4c46de869886d9 (diff)
Getting rid of setlinestyle: non-camera 3DView render border.
Also fixed wrong color for in-camera render border, and added a comment to imm_cpack about expected color components order in integer parameter.
Diffstat (limited to 'source/blender/gpu/intern/gpu_immediate_util.c')
-rw-r--r--source/blender/gpu/intern/gpu_immediate_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_immediate_util.c b/source/blender/gpu/intern/gpu_immediate_util.c
index 49ced32cd51..ba1a7633063 100644
--- a/source/blender/gpu/intern/gpu_immediate_util.c
+++ b/source/blender/gpu/intern/gpu_immediate_util.c
@@ -36,6 +36,8 @@
/**
* Pack color into 3 bytes
*
+* \Note BGR format (i.e. 0xBBGGRR)...
+*
* \param x color.
*/
void imm_cpack(unsigned int x)