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>2019-07-02 05:30:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-02 05:34:27 +0300
commita9635c63842d47009cbb9b9de7ca8afa112254bf (patch)
tree2ed19a6e362515bcfbe323cae39329871dd46e69 /source/blender/editors/transform/transform_constraints.c
parent12788538496a6c63f876926f27a99cf8b0ad9c97 (diff)
Cleanup: rename set_inverted_drawing, move to GPU_state
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 06851451461..cb539c8d1a5 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -863,9 +863,9 @@ void drawPropCircle(const struct bContext *C, TransInfo *t)
immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR);
immUniformThemeColor(TH_GRID);
- set_inverted_drawing(1);
+ GPU_logic_op_invert_set(true);
imm_drawcircball(t->center_global, t->prop_size, imat, pos);
- set_inverted_drawing(0);
+ GPU_logic_op_invert_set(false);
immUnbindProgram();