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:
authorClément Foucault <foucault.clem@gmail.com>2019-05-17 15:04:30 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-17 19:17:23 +0300
commit97d22e12b521a04e1d8809704bfeae8d526b24a8 (patch)
treeeb26a45b4afccf8ed3e353167e328c2ebc743da5 /source/blender/draw/modes/particle_mode.c
parent02319549c3061562349cf8ed98b3d77b88804824 (diff)
Cleanup: DRW: Remove uneeded DRWState values
This removes: - DRW_STATE_TRANS_FEEDBACK - DRW_STATE_WIRE - DRW_STATE_POINT
Diffstat (limited to 'source/blender/draw/modes/particle_mode.c')
-rw-r--r--source/blender/draw/modes/particle_mode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/draw/modes/particle_mode.c b/source/blender/draw/modes/particle_mode.c
index c4a0a768796..ee35fa6d169 100644
--- a/source/blender/draw/modes/particle_mode.c
+++ b/source/blender/draw/modes/particle_mode.c
@@ -123,10 +123,9 @@ static void particle_cache_init(void *vedata)
}
/* Create a pass */
- psl->psys_edit_pass = DRW_pass_create("PSys Edit Pass",
- (DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH |
- DRW_STATE_DEPTH_LESS_EQUAL | DRW_STATE_WIRE |
- DRW_STATE_POINT));
+ psl->psys_edit_pass = DRW_pass_create(
+ "PSys Edit Pass",
+ (DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH | DRW_STATE_DEPTH_LESS_EQUAL));
GPUShader *strand_shader = (use_weight) ? e_data.strands_weight_shader : e_data.strands_shader;
stl->g_data->strands_group = DRW_shgroup_create(strand_shader, psl->psys_edit_pass);