Cleanup: Duplicated function

wmOrtho2_region_pixelspace and wmOrtho2_region_ui were doing exact same thing since rBSa86482f81cf3.
This commit is contained in:
Julian Eisel
2016-02-29 15:20:09 +01:00
parent 94349ab308
commit 49ba9740b8
7 changed files with 7 additions and 19 deletions

View File

@@ -893,7 +893,7 @@ void view3d_cached_text_draw_end(View3D *v3d, ARegion *ar, bool depth_write, flo
glPushMatrix();
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
wmOrtho2_region_ui(ar);
wmOrtho2_region_pixelspace(ar);
glLoadIdentity();
if (depth_write) {