diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index db8a1511da3..67511d2b433 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2220,10 +2220,7 @@ static void radial_control_set_tex(RadialControl *rc) rc->texture = GPU_texture_create_nD( ibuf->x, ibuf->y, 0, 2, ibuf->rect_float, GPU_R8, GPU_DATA_FLOAT, 0, false, NULL); GPU_texture_filter_mode(rc->texture, true); - - GPU_texture_bind(rc->texture, 0); GPU_texture_swizzle_set(rc->texture, "111r"); - GPU_texture_unbind(rc->texture); MEM_freeN(ibuf->rect_float); MEM_freeN(ibuf); |