UI: remove OpenGL calls from ED_region_init, now handled elsewhere

This commit is contained in:
Campbell Barton 2014-06-14 17:40:33 +10:00
parent 8cd9d784c7
commit 577e4f8d9e

@ -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 */