diff options
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 31706154dc2..aea35e193b8 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -1371,8 +1371,6 @@ void draw_nodespace_back_pix(ARegion *ar, SpaceNode *snode, int color_manage) if(ibuf->rect) { if (snode->flag & SNODE_SHOW_ALPHA) { - glEnable(GL_BLEND); - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glPixelZoom(snode->zoom, snode->zoom); /* swap bytes, so alpha is most significant one, then just draw it as luminance int */ if(ENDIAN_ORDER == B_ENDIAN) @@ -1382,7 +1380,6 @@ void draw_nodespace_back_pix(ARegion *ar, SpaceNode *snode, int color_manage) glPixelStorei(GL_UNPACK_SWAP_BYTES, 0); glPixelZoom(1.0f, 1.0f); - glDisable(GL_BLEND); } else if (snode->flag & SNODE_USE_ALPHA) { glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |