diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-28 18:14:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-28 18:19:42 +0300 |
commit | 2100dba34bbec7fffdff787c01d3270ab7d3dfbb (patch) | |
tree | 6537a82b5ffe39e64da79faf8a0b875804567409 /source/blender/editors/space_node/node_draw.c | |
parent | fbe7c848c20c1f3fef0b2ee47b9d2d2fa19a5b5e (diff) |
Cleanup: GPU: Move program point size to GPU_state
Diffstat (limited to 'source/blender/editors/space_node/node_draw.c')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 020bdbf60a1..1c3544077c4 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -896,7 +896,7 @@ void node_draw_sockets(View2D *v2d, uint col = GPU_vertformat_attr_add(format, "color", GPU_COMP_F32, 4, GPU_FETCH_FLOAT); GPU_blend(true); - GPU_enable_program_point_size(); + GPU_program_point_size(true); immBindBuiltinProgram(GPU_SHADER_2D_POINT_UNIFORM_SIZE_VARYING_COLOR_OUTLINE_AA); @@ -991,7 +991,7 @@ void node_draw_sockets(View2D *v2d, immUnbindProgram(); - GPU_disable_program_point_size(); + GPU_program_point_size(false); GPU_blend(false); } |