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-28 18:15:10 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-28 18:19:42 +0300
commit9e85d4052fbc19d9244862d5858147e0d1ba83c3 (patch)
tree7789d23b09bbdc52a81de62586e84056f2ddf193 /source/blender/draw/modes/object_mode.c
parent2100dba34bbec7fffdff787c01d3270ab7d3dfbb (diff)
Cleanup: DRW: Codestyle
Diffstat (limited to 'source/blender/draw/modes/object_mode.c')
-rw-r--r--source/blender/draw/modes/object_mode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 454cf664014..8f0dc63fb1c 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -1572,9 +1572,9 @@ static void OBJECT_cache_init(void *vedata)
{
/* Particle Pass */
- psl->particle = DRW_pass_create("Particle Pass",
- DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH |
- DRW_STATE_DEPTH_LESS_EQUAL | DRW_STATE_BLEND_ALPHA);
+ DRWState state = DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH | DRW_STATE_DEPTH_LESS_EQUAL |
+ DRW_STATE_BLEND_ALPHA;
+ psl->particle = DRW_pass_create("Particle Pass", state);
}
}