diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-02-13 05:57:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-02-13 22:02:31 +0300 |
commit | 96a2807e73ed595493e7ffba000d78fb9309895f (patch) | |
tree | 687f316805ee1b69fc061d760ca974c08b52ddee /source/blender/editors/space_node | |
parent | ff2d1edcd4b40829b1bad55dfa42df401ef91c3d (diff) |
Code cleanup: remove unneeded gla* 2D drawing functions.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 1 |
2 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 27c4eb2fa3c..e9eddb222cd 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -3222,8 +3222,6 @@ void draw_nodespace_back_pix(const bContext *C, ARegion *ar, SpaceNode *snode, b gpuPushMatrix(); /* somehow the offset has to be calculated inverse */ - - glaDefine2DArea(&ar->winrct); wmOrtho2_region_pixelspace(ar); x = (ar->winx - snode->zoom * ibuf->x) / 2 + snode->xof; diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 231039b2e22..6f0e6d4cbf1 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -1404,7 +1404,6 @@ void drawnodespace(const bContext *C, ARegion *ar) gpuPushMatrix(); gpuLoadIdentity(); - glaDefine2DArea(&ar->winrct); wmOrtho2_pixelspace(ar->winx, ar->winy); WM_manipulatormap_draw(ar->manipulator_map, C, WM_MANIPULATORMAP_DRAWSTEP_2D); |