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 21:55:14 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-04-26 21:57:18 +0300
commitbb43dff935889f3efa112dbe21528b709b3f434d (patch)
treef39a057ac692a81e8343631e99d24415a4787003 /source/blender/gpu/GPU_shader.h
parent224f148e224086c61e819525cd811572d4383ad1 (diff)
Add 3D version of dashed line shader.
This is actually nearly same code as 2D version, maybe we can deduplicate that later?
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r--source/blender/gpu/GPU_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h
index 7e4524142d3..e88bffb98ed 100644
--- a/source/blender/gpu/GPU_shader.h
+++ b/source/blender/gpu/GPU_shader.h
@@ -143,6 +143,7 @@ typedef enum GPUBuiltinShader {
GPU_SHADER_3D_POINT_VARYING_SIZE_VARYING_COLOR,
/* lines */
GPU_SHADER_2D_LINE_DASHED_COLOR,
+ GPU_SHADER_3D_LINE_DASHED_COLOR,
/* lamp drawing */
GPU_SHADER_3D_GROUNDPOINT,
GPU_SHADER_3D_GROUNDLINE,