diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 11:40:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 11:40:33 +0400 |
commit | 577e4f8d9ee3962f42dd472459704c5e1750e538 (patch) | |
tree | 61dc22cf482b434e0dca13fe4fdb59a05b7bd56e /source/blender/editors | |
parent | 8cd9d784c7e4785d38b336bc852ffb8be3fde867 (diff) |
UI: remove OpenGL calls from ED_region_init, now handled elsewhere
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/area.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 276fc9aca28..42c61913aa1 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1339,10 +1339,6 @@ void ED_region_init(bContext *C, ARegion *ar) region_subwindow(CTX_wm_window(C), ar); region_update_rect(ar); - - /* UI convention */ - wmOrtho2(-0.01f, ar->winx - 0.01f, -0.01f, ar->winy - 0.01f); - glLoadIdentity(); } /* for quick toggle, can skip fades */ |