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:14:22 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-28 18:19:42 +0300
commit2100dba34bbec7fffdff787c01d3270ab7d3dfbb (patch)
tree6537a82b5ffe39e64da79faf8a0b875804567409 /source/blender/editors/mask/mask_draw.c
parentfbe7c848c20c1f3fef0b2ee47b9d2d2fa19a5b5e (diff)
Cleanup: GPU: Move program point size to GPU_state
Diffstat (limited to 'source/blender/editors/mask/mask_draw.c')
-rw-r--r--source/blender/editors/mask/mask_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c
index 33e89b1a7c5..d9ca58fa88c 100644
--- a/source/blender/editors/mask/mask_draw.c
+++ b/source/blender/editors/mask/mask_draw.c
@@ -600,7 +600,7 @@ static void draw_masklays(const bContext *C,
GPU_blend(true);
GPU_blend_set_func_separate(
GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA);
- GPU_enable_program_point_size();
+ GPU_program_point_size(true);
MaskLayer *masklay;
int i;
@@ -635,7 +635,7 @@ static void draw_masklays(const bContext *C,
}
}
- GPU_disable_program_point_size();
+ GPU_program_point_size(false);
GPU_blend(false);
}